Limited availability
Note: This feature is available in Dedicated Web Workers.
The clone()
method of the AudioData
interface creates a new AudioData
object with reference to the same media resource as the original.
None.
Return valueThe cloned AudioData
object.
InvalidStateError
DOMException
Thrown if the AudioData
object has been transferred.
The following example clones a copy of AudioData
as audioData2
.
let audioData2 = AudioData.clone();
Specifications Browser compatibility
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4