MDN self-hosted library · e01.org

AudioDecoder: close() method

WebCodecs APIwindowanddedicated

WebCodecs APIwindow_and_dedicated

The close() method of the AudioDecoder interface ends all pending work and releases system resources.

Syntax

close()

Parameters

None.

Return value

None (undefined).

Examples

The following example closes the AudioDecoder.

AudioDecoder.close();

Specifications

Browser compatibility