WebAudio: decodeAudioData detaches ArrayBuffer

According to the spec, decodeAudioData detaches the given ArrayBuffer before decoding. This means that the ArrayBuffer no longer has any contents and can't be reused or examined. If it's important to keep the data, user ArrayBuffer.slice(0) to make a copy for decodeAudioData.

Documentation

Specification

Editor's draft

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 59
  • Chrome for Android release 59
  • Chrome for iOS release 59
  • Android WebView release 59
  • Opera release 59
  • Opera for Android release 46

Consensus & Standardization

  • Shipped
  • No public signals
  • No public signals
  • No signals

Owners

Last updated on 2017-03-23