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

[Bug 17388] (audioparam): AudioParam constructor

From: <bugzilla@jessica.w3.org>
Date: Tue, 21 Aug 2012 12:33:56 +0000
Message-Id: <E1T3nee-0004mg-SZ@jessica.w3.org>
To: public-audio@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17388

Jussi Kalliokoski <jussi.kalliokoski@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jussi.kalliokoski@gmail.com

--- Comment #5 from Jussi Kalliokoski <jussi.kalliokoski@gmail.com> 2012-08-21 12:33:56 UTC ---
(In reply to comment #4)
> Regarding the suggested interface that returns a Float32Array... Returning a
> Float32Array would inevitably require GC. A better solution could be to fill
> out a Float32Array that is passed as an argument. I also think it would be a
> good idea to provide a method for returning a single value, for lessening the
> overhead for k-rate parameters.
> 
> E.g:
> 
> partial interface AudioProcessingEvent {
>     void getParamValues(DOMString name, Float32Array values);
>     float getParamValue(DOMString name);
> }

Good idea!

I also just realized that Chris Rogers's suggestion for passing the param
instead of the name won't play well with audio processing in workers.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 21 August 2012 12:33:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 August 2012 12:33:58 GMT