WebAudio: decodeAudioData returns a Promise

AudioContext.decodeAudioData returns a Promise<AudioBuffer> that is resolved when decoding the audio data is finished. This is in addition to the existing callbacks, which are now optional.



Editor's draft

Status in Chromium


Enabled by default (launch bug) in:

  • Chrome for desktop release 49
  • Chrome for Android release 49
  • Chrome for iOS release 49
  • Android WebView release 49
  • Opera release 36
  • Opera for Android release 36

Consensus & Standardization

  • No public signals
  • No public signals
  • No public signals
  • Positive


Last updated on 2017-06-14