I don't see a spec link in AudioBufferCallback.idl.
I checked with Gecko and WebKit, Gecko doesn't have a callback and WebKit's callback looks very different from ours.
Should we be somehow standardizing this or considering to remove?
Yes, I am not sure why they exist. This callback is tied to decodeAudioData() method and must have been created to make "exposed" callback mechanism work.
They need to be removed.
Reopening because this causes decodeAdioData callbacks not to be called sometimes. Current guess is that the callbacks are getting GCed too soon.
We'll try landing this once we figure out what's causing the callbacks from getting called.
Comment 1 by hongchan@chromium.org
, Mar 31 2017