[Bug 17388] (audioparam): AudioParam constructor

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

--- Comment #6 from Marcus Geelnard (Opera) <mage@opera.com> 2012-08-21 12:52:32 UTC ---
(In reply to comment #5)
> 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.

Exactly.

Not quite sure what the best solution would be, but for now the "name" string
should do (and you'd get an exception if you try to create two AudioParams with
the same name).

If string/hash lookups are deemed too costly to do per-callback, we could
introduce something similar to uniform/attribute locations in WebGL (i.e.
integers).

-- 
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:52:33 UTC