[Bug 17388] (audioparam): AudioParam constructor

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17388

Marcus Geelnard (Opera) <mage@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mage@opera.com

--- Comment #4 from Marcus Geelnard (Opera) <mage@opera.com> 2012-08-21 12:25:13 UTC ---
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);
}

-- 
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:25:19 UTC