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

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

Issue 2440583002: Use AudioUtilities::kRenderQuantumFrames everywhere (Closed)
Patch Set: Address review comments Created 4 years, 1 month 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/AudioNodeInput.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp
index f91fbe038bfdc894ff4bcc67b0e4dafce9db55d5..fcab9aece164e07503ff62851692cb1f8a029a49 100644
--- a/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp
@@ -36,7 +36,7 @@ inline AudioNodeInput::AudioNodeInput(AudioHandler& handler)
m_handler(handler) {
// Set to mono by default.
m_internalSummingBus =
- AudioBus::create(1, AudioHandler::ProcessingSizeInFrames);
+ AudioBus::create(1, AudioUtilities::kRenderQuantumFrames);
}
std::unique_ptr<AudioNodeInput> AudioNodeInput::create(AudioHandler& handler) {
@@ -121,7 +121,7 @@ void AudioNodeInput::updateInternalBus() {
return;
m_internalSummingBus = AudioBus::create(numberOfInputChannels,
- AudioHandler::ProcessingSizeInFrames);
+ AudioUtilities::kRenderQuantumFrames);
}
unsigned AudioNodeInput::numberOfChannels() const {
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/AudioNode.h ('k') | third_party/WebKit/Source/modules/webaudio/AudioNodeOutput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698