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

Unified Diff: third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.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/DefaultAudioDestinationNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
index f6f9c48cc2f7924c6f9148ed9c5f8a6dd623b376..d1b7bee0fa651a96a47a854c7d3ba469c70fa8b9 100644
--- a/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/DefaultAudioDestinationNode.cpp
@@ -103,6 +103,10 @@ unsigned long DefaultAudioDestinationHandler::maxChannelCount() const {
return AudioDestination::maxChannelCount();
}
+size_t DefaultAudioDestinationHandler::callbackBufferSize() const {
+ return m_destination->callbackBufferSize();
+}
+
void DefaultAudioDestinationHandler::setChannelCount(
unsigned long channelCount,
ExceptionState& exceptionState) {

Powered by Google App Engine
This is Rietveld 408576698