← Back to release summary

WebAudio: OfflineAudioContext.startRendering() returns a promise

Category
Multimedia
Type
New or changed feature
Status
Enabled by default (Chrome 42)
Intent stage
None

Summary

The startRendering() method for an OfflineAudioContext now returns a promise that is resolved with the rendered audio when rendering is done.

Standards & signals

Docs: http://webaudio.github.io/web-audio-api/#widl-OfflineAudioContext-startRendering-Promise-AudioBuffer

Samples: https://github.com/GoogleChrome/samples/tree/gh-pages/webaudio-offlinecontext-rendering

View on chromestatus.com