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

Question about the type of the callback argument for decodeAudioData

From: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Date: Thu, 26 Jul 2012 14:30:57 -0400
Message-ID: <CANTur_4a6p+v4S9J0=ZpvObc1J1=KzfPLJt0Kzo1unO1U9oXxA@mail.gmail.com>
To: public-audio@w3.org
Cc: Boris Zbarsky <bzbarsky@mit.edu>
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);

Received on Thursday, 26 July 2012 18:32:06 UTC

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