OfflineAudioContext: resume() method
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
js
resume()
Parameters
None.
Return value
Exceptions
The promise is rejected when an exception is encountered.
InvalidStateError
DOMException
-
Returned if the context is not currently suspended or the rendering has not started.
Specifications
Specification |
---|
Web Audio API # dom-offlineaudiocontext-resume |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
resume |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.