Path: blob/main/files/en-us/web/api/audioencoder/close/index.md
6516 views
------{{securecontext_header}}{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
The close() method of the {{domxref("AudioEncoder")}} interface ends all pending work and releases system resources.
Syntax
Parameters
None.
Return value
None ({{jsxref("undefined")}}).
Examples
The following example closes the AudioEncoder.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}