Chromium Code Reviews
DescriptionReturn fixed hardware buffer size for odd sample rates.
Windows will return a sample rate of zero if audio can't
be output, in this case we shouldn't return a buffer size
of zero.
Some hardware also might return a hardware sample rate < 100,
in this case we should choose a non-zero fixed buffer size to
prevent crashes.
In either case, AudioOutputResampler will later check the hardware
config for validity and fallback to the high latency audio path in
cases where a bogus sample rate exists.
BUG=152073
TEST=compiles
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=158651
Patch Set 1 : Comments. #
Total comments: 4
Patch Set 2 : Comments #Messages
Total messages: 7 (0 generated)
|