Re: Question about the type of the callback argument for decodeAudioData

On 7/26/12 2:30 PM, Ehsan Akhgari wrote:
> The IDL in the current spec says that the type is an
> AudioBufferCallback which is not specified anywhere in the spec.  Is
> this supposed to be a Web IDL callback function
> <http://www.w3.org/TR/WebIDL/#dfn-callback-function>?  In that case I
> think AudioBufferCallback should be defined like this:
>
> callback AudioBufferCallback = void (AudioBuffer decodedData);

And as a note, the entire spec is not actually using WebIDL for its IDL. 
  That probably needs fixing.

-Boris

Received on Thursday, 26 July 2012 18:34:47 UTC