DescriptionUse the worker task runner instead of the main audio thread.
On OSX the main audio thread is the UI thread due to limitations
in the CoreAudio API. Since we're making effectively read only
calls sending the audio hardware config from the worker task
runner should be fine. We already do this in several other places
for device enumeration (since it's way to slow on UI thread).
BUG=469737
TEST=none
Committed: https://crrev.com/06def69114b5ecae4f0ee0aa875181568fe7902c
Cr-Commit-Position: refs/heads/master@{#322292}
Patch Set 1 #Patch Set 2 : Fix thread check. #Messages
Total messages: 15 (6 generated)
|