Use the worker task runner instead of the main audio thread.
commit06def69114b5ecae4f0ee0aa875181568fe7902c
authordalecurtis <dalecurtis@chromium.org>
Thu, 26 Mar 2015 01:33:32 +0000 (25 18:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 26 Mar 2015 01:34:06 +0000 (26 01:34 +0000)
treefe902957dbbc5291a75b1d4424c72864105acf0f
parent9ed27ee0b58b10934556bd27cf6037a8b5c11c50
Use 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

Review URL: https://codereview.chromium.org/1029933003

Cr-Commit-Position: refs/heads/master@{#322292}
content/browser/renderer_host/render_process_host_impl.cc