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

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

Issue 1140723003: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ready for Review Created 5 years, 6 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/OfflineAudioContext.idl
diff --git a/Source/modules/webaudio/OfflineAudioContext.idl b/Source/modules/webaudio/OfflineAudioContext.idl
index 4c225d938f979818b2ae117fab4f2cf87b37c8e7..a5d50deddedbedee48806a8f28c477e118be5252 100644
--- a/Source/modules/webaudio/OfflineAudioContext.idl
+++ b/Source/modules/webaudio/OfflineAudioContext.idl
@@ -32,4 +32,6 @@
// Offline rendering
attribute EventHandler oncomplete;
[CallWith=ScriptState,ImplementedAs=startOfflineRendering] Promise<AudioBuffer> startRendering();
+ [CallWith=ScriptState,ImplementedAs=suspendOfflineRendering] Promise<void> suspend(double suspendTime);
hongchan 2015/06/12 17:51:44 Should the use counter be a part of this CL as wel
Raymond Toy 2015/06/12 17:58:22 I would do it now.
+ [CallWith=ScriptState,ImplementedAs=resumeOfflineRendering] Promise<void> resume();
};

Powered by Google App Engine
This is Rietveld 408576698