Firefox Tomorrow

web api instance method

AudioDecoder: close() method

View on MDN ↗

Secure contextAvailable in workers

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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.