Web/API/OfflineAudioCompletionEvent/OfflineAudioCompletionEvent
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 rendered
AudioBuffer
containing the audio data.
- The rendered
Return value
A new OfflineAudioCompletionEvent
object instance.
Specifications
Specification | Status | Comment |
Web Audio APIThe 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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
OfflineAudioCompletionEvent() constructor
|
Chrome Full support 57 Full support 57 Notes' Before Chrome 59, the default values were not supported. |
Edge
Full support ≤79 |
Firefox
Full support 53 |
IE
No support No |
Opera
Full support 42 |
Safari
? |
WebView Android Full support 57 Full support 57 Notes' Before version 59, the default values were not supported. |
Chrome Android Full support 57 Full support 57 Notes' Before Chrome 59, the default values were not supported. |
Firefox Android
Full support 53 |
Opera Android
Full support 42 |
Safari iOS
? |
Samsung Internet Android Full support 6.0 Full support 6.0 Notes' Before Samsung Internet 7.0, the default values were not supported. |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- See implementation notes.'
- See implementation notes.
OfflineAudioCompletionEvent.OfflineAudioCompletionEvent() by Mozilla Contributors is licensed under CC-BY-SA 2.5.