| Index: third_party/WebCore/Modules/webaudio/Oscillator.idl
|
| diff --git a/third_party/WebCore/Modules/webaudio/Oscillator.idl b/third_party/WebCore/Modules/webaudio/Oscillator.idl
|
| index c53a9518421f378f78a28b2d9369307cba26338c..fb68e401c1341e469a6a2682c96767c1c924c3d8 100644
|
| --- a/third_party/WebCore/Modules/webaudio/Oscillator.idl
|
| +++ b/third_party/WebCore/Modules/webaudio/Oscillator.idl
|
| @@ -35,12 +35,22 @@ module audio {
|
| const unsigned short SAWTOOTH = 2;
|
| const unsigned short TRIANGLE = 3;
|
| const unsigned short CUSTOM = 4;
|
| -
|
| +
|
| attribute unsigned short type;
|
|
|
| + // Playback state constants.
|
| + const unsigned short UNSCHEDULED_STATE = 0;
|
| + const unsigned short SCHEDULED_STATE = 1;
|
| + const unsigned short PLAYING_STATE = 2;
|
| + const unsigned short FINISHED_STATE = 3;
|
| +
|
| + readonly attribute unsigned short playbackState;
|
| +
|
| readonly attribute AudioParam frequency; // in Hertz
|
| readonly attribute AudioParam detune; // in Cents
|
|
|
| + void noteOn(in double when);
|
| + void noteOff(in double when);
|
| void setWaveTable(in WaveTable waveTable);
|
|
|
| };
|
|
|