Chromium Code Reviews
DescriptionAnalyserNode.channelCount should be 1
The spec says channelCount should be 1.
Also change the default number of output channels to be 1 (was 2).
This reduces complexity of any down-stream nodes so that they will
process mono unless the input to the AnalyserNode has more than one
channel. Without this, all down-stream nodes will see a stereo input,
doubling processing costs. This change should not be user-detectable
in any way.
BUG=706610
TEST=constructor/analyser.html
Review-Url: https://codereview.chromium.org/2809923004
Cr-Commit-Position: refs/heads/master@{#466787}
Committed: https://chromium.googlesource.com/chromium/src/+/2dbd3497a559c2227a37a4e108f6380394c049a4
Patch Set 1 #Patch Set 2 : Rebase #
Messages
Total messages: 9 (5 generated)
|
||||||||||||||||||||||||||||