AudioData.close()
The close() method of the AudioData interface clears all states and releases the reference to the media resource.
Syntax
AudioData.close()
Parameters
None.
Return Value
Undefined.
Examples
The following example shows the AudioData object being closed.
AudioData.close();
Specifications
| Specification |
|---|
| WebCodecs # dom-audiodata-close |
Browser compatibility
BCD tables only load in the browser