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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp

Issue 2582443004: ScriptProcessor buffer size should be consistent with callback size (Closed)
Patch Set: Make callbackBufferSize pure virtual Created 4 years 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: third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
index 2b343435014e5c1de43aa2b03ef702b6bdf91b37..c39d0d2af0c37f00d4d42a275f7a8d5f7e47103d 100644
--- a/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OfflineAudioDestinationNode.cpp
@@ -133,6 +133,11 @@ void OfflineAudioDestinationHandler::stopRendering() {
ASSERT_NOT_REACHED();
}
+size_t OfflineAudioDestinationHandler::callbackBufferSize() const {
+ // The callback buffer size has no meaning for an offline context.
+ NOTREACHED();
+ return 0;
+}
WebThread* OfflineAudioDestinationHandler::offlineRenderThread() {
DCHECK(m_renderThread);

Powered by Google App Engine
This is Rietveld 408576698