| Index: third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| index fe76062deece54bffcc66d75b1a9dff8b0cc0961..8076910c8a384269d1cd837c34308fd4035ff0f2 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AnalyserNode.cpp
|
| @@ -60,8 +60,10 @@ void AnalyserHandler::process(size_t framesToProcess) {
|
| // Give the analyser the audio which is passing through this AudioNode.
|
| m_analyser.writeInput(inputBus, framesToProcess);
|
|
|
| - // For in-place processing, our override of pullInputs() will just pass the audio data through unchanged if the channel count matches from input to output
|
| - // (resulting in inputBus == outputBus). Otherwise, do an up-mix to stereo.
|
| + // For in-place processing, our override of pullInputs() will just pass the
|
| + // audio data through unchanged if the channel count matches from input to
|
| + // output (resulting in inputBus == outputBus). Otherwise, do an up-mix to
|
| + // stereo.
|
| if (inputBus != outputBus)
|
| outputBus->copyFrom(*inputBus);
|
| }
|
|
|