OfflineAudioContext: resume()-Methode
Die resume()
-Methode der
OfflineAudioContext
-Schnittstelle setzt den Zeitverlauf in einem Audio-Kontext fort, der angehalten wurde. Das Promise wird sofort aufgelöst, da der OfflineAudioContext
die Audio-Hardware nicht benötigt.
Syntax
js
resume()
Parameter
Keine.
Rückgabewert
Ausnahmen
Das Promise wird abgelehnt, wenn eine Ausnahme auftritt.
InvalidStateError
DOMException
-
Wird zurückgegeben, wenn der Kontext derzeit nicht angehalten ist oder das Rendering nicht gestartet wurde.
Spezifikationen
Specification |
---|
Web Audio API # dom-offlineaudiocontext-resume |
Browser-Kompatibilität
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.