Index: modules/webaudio/OscillatorNode.idl |
diff --git a/modules/webaudio/OscillatorNode.idl b/modules/webaudio/OscillatorNode.idl |
index 823d20ed521bc213fc191c4adf9eca9f46818ff9..203abfe75eb5153956f86758d5ca47c9961fdb7a 100644 |
--- a/modules/webaudio/OscillatorNode.idl |
+++ b/modules/webaudio/OscillatorNode.idl |
@@ -29,13 +29,13 @@ enum OscillatorType { |
"triangle", |
"custom" |
}; |
- |
+ |
// OscillatorNode is an audio generator of periodic waveforms. |
[ |
- Conditional=WEB_AUDIO |
+ Conditional=WEB_AUDIO, |
] interface OscillatorNode : AudioSourceNode { |
- attribute OscillatorType type; |
+ [RaisesException=Setter] attribute OscillatorType type; |
readonly attribute AudioParam frequency; // in Hertz |
readonly attribute AudioParam detune; // in Cents |
@@ -43,9 +43,6 @@ enum OscillatorType { |
[RaisesException] void start(optional double when); |
[RaisesException] void stop(optional double when); |
- [RaisesException, ImplementedAs=start] void noteOn(double when); |
- [RaisesException, ImplementedAs=stop] void noteOff(double when); |
- |
void setPeriodicWave(PeriodicWave periodicWave); |
attribute EventHandler onended; |