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: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 26 Jul 2012 14:34:10 -0400
Message-ID: <50118DA2.5080205@mit.edu>
To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
CC: public-audio@w3.org
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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:01 UTC