DescriptionIncrease the buffer size in AudioRendererImpl to fix muted playback rate
This CL temporarily removes GetBufferSizeForSampleRate() and uses
SelectSamplesPerPacket() to determine the size of samples_per_packet in
AudioDevice. This restores the buffer size that AudioRendererImpl
used prior to r113821. SelectSamplesPerPacket() calculates a much larger
samples_per_packet value than GetBufferSizeForSampleRate(), so it fixes
the issue described in 108239.
This CL also does some mild refactoring to move audio_common.cc into
audio_util.cc.
BUG=108239
TEST=media_unittests,content_unittests, manual testing of different playback rates
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=123292
Patch Set 1 #
Total comments: 2
Patch Set 2 : rebase ToT #
Messages
Total messages: 6 (0 generated)
|