DescriptionFix flaky AudioStreamHandler initialization.
AudioStreamHandler was calling into the AudioManager on the wrong
thread. On OSX this will lead to undefined behavior since the
CoreAudio API is not thread safe.
Sadly due to antique unit tests, we don't have the proper DCHECKs
in place to catch bad behavior automatically. I've filed the bug
below to track this effort.
In this case we can simply use a fixed buffer size since ASH is
using MakeAudioOutputStreamProxy() which will take care of any
necessary rebuffering and resampling.
BUG=325373
TEST=none
R=scherkus@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238484
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|