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

On Thu, Jul 26, 2012 at 2:30 PM, Ehsan Akhgari <ehsan.akhgari@gmail.com> 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);

FWIW, I have now made this change.

--
Ehsan
<http://ehsanakhgari.org/>

Received on Thursday, 16 August 2012 02:37:29 UTC