W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2012

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

From: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Date: Thu, 26 Jul 2012 16:17:45 -0400
Message-ID: <CANTur_67giC+dXd_OAagoAcPmB-vnbfbVEFJxys49_9qivTefA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-audio@w3.org
On Thu, Jul 26, 2012 at 2:34 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> 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.

Yes, I'll try to help with that as well.

--
Ehsan
<http://ehsanakhgari.org/>
Received on Thursday, 26 July 2012 20:18:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 July 2012 20:18:52 GMT