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.
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.
js
resume()
None.
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.
Specification |
---|
Web Audio API # dom-offlineaudiocontext-resume |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
resume |
41 | 14 | 40 | No | 28 | 9 | 41 | 41 | 40 | 28 | 9 | 4.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/OfflineAudioContext/resume