Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: third_party/WebCore/Modules/webaudio/Oscillator.idl

Issue 10381128: Roll IDL to multivm@516 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698