| Index: third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp b/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp
|
| index fa46515e92293a82cd3d03b6fa5d5fd61e245a6a..8a857efc9f348894a495cf7d4c05a89616abe81a 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.cpp
|
| @@ -86,7 +86,8 @@ void AudioBasicProcessorHandler::process(size_t framesToProcess) {
|
| } else {
|
| AudioBus* sourceBus = input(0).bus();
|
|
|
| - // FIXME: if we take "tail time" into account, then we can avoid calling processor()->process() once the tail dies down.
|
| + // FIXME: if we take "tail time" into account, then we can avoid calling
|
| + // processor()->process() once the tail dies down.
|
| if (!input(0).isConnected())
|
| sourceBus->zero();
|
|
|
| @@ -96,13 +97,15 @@ void AudioBasicProcessorHandler::process(size_t framesToProcess) {
|
|
|
| // Nice optimization in the very common case allowing for "in-place" processing
|
| void AudioBasicProcessorHandler::pullInputs(size_t framesToProcess) {
|
| - // Render input stream - suggest to the input to render directly into output bus for in-place processing in process() if possible.
|
| + // Render input stream - suggest to the input to render directly into output
|
| + // bus for in-place processing in process() if possible.
|
| input(0).pull(output(0).bus(), framesToProcess);
|
| }
|
|
|
| // As soon as we know the channel count of our input, we can lazily initialize.
|
| -// Sometimes this may be called more than once with different channel counts, in which case we must safely
|
| -// uninitialize and then re-initialize with the new channel count.
|
| +// Sometimes this may be called more than once with different channel counts, in
|
| +// which case we must safely uninitialize and then re-initialize with the new
|
| +// channel count.
|
| void AudioBasicProcessorHandler::checkNumberOfChannelsForInput(
|
| AudioNodeInput* input) {
|
| DCHECK(context()->isAudioThread());
|
| @@ -124,7 +127,8 @@ void AudioBasicProcessorHandler::checkNumberOfChannelsForInput(
|
| }
|
|
|
| if (!isInitialized()) {
|
| - // This will propagate the channel count to any nodes connected further down the chain...
|
| + // This will propagate the channel count to any nodes connected further down
|
| + // the chain...
|
| output(0).setNumberOfChannels(numberOfChannels);
|
|
|
| // Re-initialize the processor with the new channel count.
|
|
|