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. OfflineAudioCompletionEvents 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.

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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 55
Notes
Full support 55
Notes
Notes Before Chrome 59, the default values were not supported.
Edge ? Firefox Full support 53IE No support NoOpera Full support 42Safari ? WebView Android Full support 55
Notes
Full support 55
Notes
Notes Before version 59, the default values were not supported.
Chrome Android Full support 55
Notes
Full support 55
Notes
Notes Before Chrome 59, the default values were not supported.
Edge Mobile ? Firefox Android Full support 53Opera Android Full support 42Safari 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.

Document Tags and Contributors

Contributors to this page: sideshowbarker, chrisdavidmills
Last updated by: sideshowbarker,