DescriptionFix a couple bugs with OSX audio buffer size selection.
1. Device changes may cause an already in process stream creation
to use the wrong buffer size => CHECK() failure.
2. Low latency stream Open() failure causes AudioOutputResampler
to fall back to a high latency buffer size, which will cause a
stream to be created with the wrong buffer size => CHECK() failure.
Fixing 2 has the added advantage of removing an extra useless hop
between stream Open() failure and switching to a fake audio output
device.
BUG=225249
TEST=audio works.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192946
Patch Set 1 #Patch Set 2 : Fix unused errors. #Patch Set 3 : Fix unittests. #
Messages
Total messages: 9 (0 generated)
|