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

Unified Diff: Source/modules/webaudio/AudioDestinationNode.h

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/AudioDestinationNode.h
diff --git a/Source/modules/webaudio/AudioDestinationNode.h b/Source/modules/webaudio/AudioDestinationNode.h
index 142ee084e4dcf33e042f448fb9d55c34eb478e3a..9f244963406c854e6dab9c8b54315c55961e2bcd 100644
--- a/Source/modules/webaudio/AudioDestinationNode.h
+++ b/Source/modules/webaudio/AudioDestinationNode.h
@@ -56,6 +56,9 @@ public:
virtual void startRendering() = 0;
virtual void stopRendering() = 0;
+ // FIXME: Refacotring needed. This method is only used by OfflineAudioContext.
Raymond Toy 2015/06/12 21:11:36 Typo: Refacotring.
hongchan 2015/06/15 18:40:46 Done.
+ virtual size_t quantizeTimeToRenderQuantum(double) const { return 0; }
+
protected:
// LocalAudioInputProvider allows us to expose an AudioSourceProvider for local/live audio input.
// If there is local/live audio input, we call set() with the audio input data every render quantum.

Powered by Google App Engine
This is Rietveld 408576698