Path: blob/main/files/en-us/web/api/audiodata/close/index.md
6552 views
------{{APIRef("WebCodecs API")}}{{SeeCompatTable}}
The close() method of the {{domxref("AudioData")}} interface clears all states and releases the reference to the media resource.
Syntax
Parameters
None.
Return value
Undefined.
Examples
The following example shows the AudioData object being closed.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}