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