[Webkit-unassigned] [Bug 82160] Add exception for the setter of value in AudioParam

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 6 16:46:18 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82160





--- Comment #3 from Chris Rogers <crogers at google.com>  2012-04-06 16:46:18 PST ---
(From update of attachment 136004)
View in context: https://bugs.webkit.org/attachment.cgi?id=136004&action=review

Hi Chun, sorry for the trouble but after some careful thought I don't think we should throw exceptions for values outside the range minValue and maxValue.  This is because it will soon become possible to send "audio-rate" signals directly to params and even have negative frequencies (for FM synthesis, etc.)

I realize that the spec says it should throw an exception, but I believe this is wrong and the spec should change.

Throwing and exception for NaN and Inf still seems Ok

> Source/WebCore/Modules/webaudio/AudioGain.h:51
> +

I don't think we need to special-case AudioGain - please see below.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list