Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webaudio/AudioParam.cpp |
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp |
| index 32bcebef90579bf1ebf8dd350d8b55fbc724ff33..39dc42291e389542b0225284b812fc4cedce15cf 100644 |
| --- a/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp |
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioParam.cpp |
| @@ -264,7 +264,7 @@ void AudioParamHandler::calculateFinalValues(float* values, |
| // Render audio from this output. |
| AudioBus* connectionBus = |
| - output->pull(0, AudioHandler::ProcessingSizeInFrames); |
| + output->pull(0, AudioUtilities::kRenderQuantumFrames); |
| // Sum, with unity-gain. |
| summingBus->sumFrom(*connectionBus); |
| @@ -274,7 +274,8 @@ void AudioParamHandler::calculateFinalValues(float* values, |
| void AudioParamHandler::calculateTimelineValues(float* values, |
| unsigned numberOfValues) { |
| // Calculate values for this render quantum. Normally numberOfValues will |
| - // equal to AudioHandler::ProcessingSizeInFrames (the render quantum size). |
| + // equal to AudioHandler::AudioUtilities::kRenderQuantumFrames (the render |
|
hongchan
2016/10/24 16:23:24
Remove 'AudioHandler::'
Raymond Toy
2016/10/31 22:30:05
Done (with a few other cosmetic changes like |numb
|
| + // quantum size). |
| double sampleRate = destinationHandler().sampleRate(); |
| size_t startFrame = destinationHandler().currentSampleFrame(); |
| size_t endFrame = startFrame + numberOfValues; |