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

Unified Diff: third_party/WebKit/Source/modules/webaudio/OscillatorNode.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/OscillatorNode.cpp
diff --git a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp
index 8c0e99a2d608764bb10fe63922399a4c2bf37176..ca484863958c8b70f9ba754a57702524fb52278e 100644
--- a/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp
+++ b/third_party/WebKit/Source/modules/webaudio/OscillatorNode.cpp
@@ -49,8 +49,8 @@ OscillatorHandler::OscillatorHandler(AudioNode& node,
m_detune(detune),
m_firstRender(true),
m_virtualReadIndex(0),
- m_phaseIncrements(ProcessingSizeInFrames),
- m_detuneValues(ProcessingSizeInFrames) {
+ m_phaseIncrements(AudioUtilities::kRenderQuantumFrames),
+ m_detuneValues(AudioUtilities::kRenderQuantumFrames) {
// Sets up default wavetable.
setType(m_type);

Powered by Google App Engine
This is Rietveld 408576698