DescriptionAllow better AudioRendererMixer reuse by ignoring irrelevant params.
Several AudioParameters fields are irrelevant when converting from
one type to another via AudioRendererMixer. Not ignoring these
values results in expensive extra renderer side resampling load and
extra physical stream creation. Physical stream creation has a long
tail of additional overhead (multiple threads, shared memory, etc).
AudioRendererMixerManager will now ignore these irrelevant params
when determining whether it should reuse an existing mixer.
BUG=none
TEST=new unittest.
Committed: https://crrev.com/cee23788475df08e55797adfb4222192cff882ff
Cr-Commit-Position: refs/heads/master@{#296304}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Typo. #
Messages
Total messages: 12 (4 generated)
|