Chromium Code Reviews
DescriptionDon't run WSOLA over always muted channels.
WSOLA can be quite expensive to run; we should not be running it on
channels which we know are always muted due to an upmixed signal.
Not doing this results in an ~388% speedup when adjusting the
playback rate for 8 channel sources. Taking the run time for 10
seconds of audio at 2.0 rate from 11536ms (> 10 is not real time)
down to 2975ms.
This is accomplished by introducing a channel mask to the render
algorithm which can be used to generate AudioBus objects with
lower channel counts for use with the WSOLA algorithm. Masked
channels are always muted.
BUG=666813
TEST=new unittests
Committed: https://crrev.com/21d17ca06e742cbfdcaaa54e0f4964248e3fbfff
Cr-Commit-Position: refs/heads/master@{#433782}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments. #Patch Set 3 : Fix cast tests. #
Messages
Total messages: 17 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||