The OfflineAudioCompletionEvent()
constructor of the Web Audio API creates a new OfflineAudioCompletionEvent
object instance.
Note: You wouldn't generally use the constructor manually. OfflineAudioCompletionEvent
s are despatched to OfflineAudioContext
instances for legacy reasons.
Syntax
var offlineAudioCompletionEvent = new OfflineAudioCompletionEvent(type, init)
Parameters
- type Optional
- A
DOMString
representing the type of object to create. - init Optional
- Options are as follows:
renderedBuffer
: The renderedAudioBuffer
containing the audio data.
Return value
A new OfflineAudioCompletionEvent
object instance.
Specifications
Specification | Status | Comment |
---|---|---|
Web Audio API The definition of 'OfflineAudioCompletionEvent()' in that specification. |
Working Draft | Initial definition. |
Browser Compatibility
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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
OfflineAudioCompletionEvent() constructor | Chrome
Full support
57
| Edge Full support ≤79 | Firefox Full support 53 | IE No support No | Opera Full support 42 | Safari ? | WebView Android
Full support
57
| Chrome Android
Full support
57
| Firefox Android Full support 53 | Opera Android Full support 42 | Safari iOS ? | Samsung Internet Android
Full support
6.0
|
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- See implementation notes.
- See implementation notes.