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

Unified Diff: third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl

Issue 2471353004: Implement AudioScheduledSourceNode (Closed)
Patch Set: Update according to review Created 4 years 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/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl
index bc199b8312c9e418694fb8391ea092621f8c4b49..f5c47e7acb061879468eba9e15986207c69435df 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl
+++ b/third_party/WebKit/Source/modules/webaudio/AudioBufferSourceNode.idl
@@ -29,8 +29,9 @@
Constructor(BaseAudioContext context, optional AudioBufferSourceOptions options),
RaisesException=Constructor,
ActiveScriptWrappable,
+ DependentLifetime
]
-interface AudioBufferSourceNode : AudioSourceNode {
+interface AudioBufferSourceNode : AudioScheduledSourceNode {
[RaisesException=Setter] attribute AudioBuffer buffer;
readonly attribute AudioParam playbackRate;
@@ -40,8 +41,6 @@ interface AudioBufferSourceNode : AudioSourceNode {
attribute double loopStart;
attribute double loopEnd;
- [RaisesException] void start(optional double when, optional double grainOffset, optional double grainDuration);
- [RaisesException] void stop(optional double when);
+ [RaisesException] void start(optional double when = 0, optional double grainOffset, optional double grainDuration);
- attribute EventHandler onended;
};

Powered by Google App Engine
This is Rietveld 408576698