Web Audio API
The resume() method of the
OfflineAudioContext interface resumes the progression of time in an audio
context that has been suspended. The promise resolves immediately because the
OfflineAudioContext does not require the audio hardware.
Syntax
resume()
Parameters
None.
Return value
A Promise resolving to undefined.
Exceptions
The promise is rejected when an exception is encountered.
InvalidStateErrorDOMException- : Returned if the context is not currently suspended or the rendering has not started.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
