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

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

Issue 1140723003: Implement suspend() and resume() for OfflineAudioContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Ready for Review (2) 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.cpp
diff --git a/Source/modules/webaudio/AudioDestinationNode.cpp b/Source/modules/webaudio/AudioDestinationNode.cpp
index 920bb6cef15abd48fa14f9edccea93b494906984..93815449c25087664c262424f86bede8ddc73f70 100644
--- a/Source/modules/webaudio/AudioDestinationNode.cpp
+++ b/Source/modules/webaudio/AudioDestinationNode.cpp
@@ -95,6 +95,12 @@ void AudioDestinationHandler::render(AudioBus* sourceBus, AudioBus* destinationB
releaseStore(&m_currentSampleFrame, newSampleFrame);
}
+WebThread* AudioDestinationHandler::offlineRenderThread()
+{
+ ASSERT(context()->isOfflineContext());
haraken 2015/06/30 07:41:50 ASSERT_NOT_REACHED() would be better.
hongchan 2015/06/30 18:52:10 Done.
+ return nullptr;
+}
+
// ----------------------------------------------------------------
AudioDestinationNode::AudioDestinationNode(AudioContext& context)

Powered by Google App Engine
This is Rietveld 408576698