MDN self-hosted library · e01.org

AudioDecoder: reset() method

WebCodecs APIwindowanddedicated

WebCodecs APIwindow_and_dedicated

The reset() method of the AudioDecoder interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.

Syntax

reset()

Parameters

None.

Return value

None (undefined).

Examples

The following example resets the AudioDecoder.

AudioDecoder.reset();

Specifications

Browser compatibility