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

Unified Diff: Source/modules/webaudio/OscillatorNode.idl

Issue 23596014: Keep AudioScheduledSourceNode alive until onended is called. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Implement ActiveDOMObject::stop() Created 7 years, 3 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: Source/modules/webaudio/OscillatorNode.idl
diff --git a/Source/modules/webaudio/OscillatorNode.idl b/Source/modules/webaudio/OscillatorNode.idl
index 949eac60c32695668c17a31b39d59360174a820f..82500fe4a75e7a938e21e3400a01bd852f647e66 100644
--- a/Source/modules/webaudio/OscillatorNode.idl
+++ b/Source/modules/webaudio/OscillatorNode.idl
@@ -24,7 +24,8 @@
// OscillatorNode is an audio generator of periodic waveforms.
[
- Conditional=WEB_AUDIO
+ Conditional=WEB_AUDIO,
+ ActiveDOMObject
] interface OscillatorNode : AudioSourceNode {
// Type constants.
@@ -48,7 +49,7 @@
readonly attribute AudioParam detune; // in Cents
void start(double when);
- void stop(double when);
+ [ImplementedAs=stopNote] void stop(double when);
void noteOn(double when);
void noteOff(double when);

Powered by Google App Engine
This is Rietveld 408576698