Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 745 Bytes

File metadata and controls

41 lines (26 loc) · 745 Bytes
title short-title slug page-type browser-compat
AudioEncoder: reset() method
reset()
Web/API/AudioEncoder/reset
web-api-instance-method
api.AudioEncoder.reset

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The reset() method of the {{domxref("AudioEncoder")}} interface resets all states including configuration, control messages in the control message queue, and all pending callbacks.

Syntax

reset()

Parameters

None.

Return value

None ({{jsxref("undefined")}}).

Examples

The following example resets the AudioEncoder.

AudioEncoder.reset();

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}