diff options
| author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
|---|---|---|
| committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
| commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
| tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/WebCore/Modules/webaudio/AudioParam.idl | |
| parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
| download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz | |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/WebCore/Modules/webaudio/AudioParam.idl')
| -rw-r--r-- | Source/WebCore/Modules/webaudio/AudioParam.idl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Source/WebCore/Modules/webaudio/AudioParam.idl b/Source/WebCore/Modules/webaudio/AudioParam.idl index 81c187503..605462b46 100644 --- a/Source/WebCore/Modules/webaudio/AudioParam.idl +++ b/Source/WebCore/Modules/webaudio/AudioParam.idl @@ -10,7 +10,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. Neither the name of Apple Inc. ("Apple") nor the names of + * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * @@ -29,10 +29,10 @@ [ Conditional=WEB_AUDIO, ] interface AudioParam { - attribute unrestricted float value; - readonly attribute unrestricted float minValue; - readonly attribute unrestricted float maxValue; - readonly attribute unrestricted float defaultValue; + attribute float value; + readonly attribute float minValue; + readonly attribute float maxValue; + readonly attribute float defaultValue; readonly attribute DOMString name; @@ -40,20 +40,20 @@ readonly attribute unsigned short units; // Parameter automation. - void setValueAtTime(unrestricted float value, unrestricted float time); - void linearRampToValueAtTime(unrestricted float value, unrestricted float time); - void exponentialRampToValueAtTime(unrestricted float value, unrestricted float time); + void setValueAtTime(float value, float time); + void linearRampToValueAtTime(float value, float time); + void exponentialRampToValueAtTime(float value, float time); // Exponentially approach the target with a rate having the given time constant. - void setTargetAtTime(unrestricted float target, unrestricted float time, unrestricted float timeConstant); + void setTargetAtTime(float target, float time, float timeConstant); // Sets an array of arbitrary parameter values starting at time for the given duration. // The number of values will be scaled to fit into the desired duration. - void setValueCurveAtTime(Float32Array values, unrestricted float time, unrestricted float duration); + void setValueCurveAtTime(Float32Array values, float time, float duration); // Cancels all scheduled parameter changes with times greater than or equal to startTime. - void cancelScheduledValues(unrestricted float startTime); + void cancelScheduledValues(float startTime); - [Conditional=LEGACY_WEB_AUDIO, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(unrestricted float targetValue, unrestricted float time, unrestricted float timeConstant); + [Conditional=LEGACY_WEB_AUDIO, ImplementedAs=setTargetAtTime] void setTargetValueAtTime(float targetValue, float time, float timeConstant); }; |
