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

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: Initial review + layout tests Created 5 years, 7 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..6bc689f55bbae9190bb3d4b56e883e4a08e0dc2d 100644
--- a/Source/modules/webaudio/AudioDestinationNode.h
+++ b/Source/modules/webaudio/AudioDestinationNode.h
@@ -56,6 +56,8 @@ public:
virtual void startRendering() = 0;
virtual void stopRendering() = 0;
+ virtual size_t quantizeTime(double) const { return 0; }
Raymond Toy 2015/05/28 16:37:35 I think this is too vague. Choose a more descript
hongchan 2015/06/09 20:49:59 Yes, I agree. Will fix it.
+
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