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

Unified Diff: modules/webaudio/AudioBufferSourceNode.idl

Issue 206333004: Update IDL to 1847 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 9 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
« no previous file with comments | « modules/vibration/NavigatorVibration.idl ('k') | modules/webaudio/AudioParam.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/webaudio/AudioBufferSourceNode.idl
diff --git a/modules/webaudio/AudioBufferSourceNode.idl b/modules/webaudio/AudioBufferSourceNode.idl
index ab58774ead668fca7c5da8739217e573e73c3996..5ac1c0167d72157aa97220460a09ebe1ae5462c8 100644
--- a/modules/webaudio/AudioBufferSourceNode.idl
+++ b/modules/webaudio/AudioBufferSourceNode.idl
@@ -24,9 +24,10 @@
// A cached (non-streamed), memory-resident audio source
[
- Conditional=WEB_AUDIO
+ Conditional=WEB_AUDIO,
+ StrictTypeChecking,
] interface AudioBufferSourceNode : AudioSourceNode {
- [StrictTypeChecking, RaisesException=Setter] attribute AudioBuffer buffer;
+ [RaisesException=Setter] attribute AudioBuffer buffer;
const unsigned short UNSCHEDULED_STATE = 0;
const unsigned short SCHEDULED_STATE = 1;
@@ -38,16 +39,13 @@
readonly attribute AudioParam gain;
readonly attribute AudioParam playbackRate;
- attribute boolean loop; // This is the proper attribute name from the specification.
-
+ attribute boolean loop;
attribute double loopStart;
attribute double loopEnd;
[RaisesException, MeasureAs=WebAudioStart] void start(optional double when, optional double grainOffset, optional double grainDuration);
[RaisesException] void stop(optional double when);
- [DeprecateAs=WebAudioLooping, ImplementedAs=loop] attribute boolean looping; // This is an alias for the .loop attribute for backwards compatibility.
-
[RaisesException, ImplementedAs=start, MeasureAs=LegacyWebAudio] void noteOn(double when);
[RaisesException, MeasureAs=LegacyWebAudio] void noteGrainOn(double when, double grainOffset, double grainDuration);
[RaisesException, ImplementedAs=stop] void noteOff(double when);
« no previous file with comments | « modules/vibration/NavigatorVibration.idl ('k') | modules/webaudio/AudioParam.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698