Ensure the wedge timer isn't started until after StartStream().
commit82cb10900b887b8a8df0bdd3de5c7686ed5f57bd
authordalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Nov 2013 09:28:51 +0000 (8 09:28 +0000)
committerdalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 8 Nov 2013 09:28:51 +0000 (8 09:28 +0000)
tree060c9ea2f3102e3b9aed65d0becd89a9e2702a53
parent1b932b96cbd1f55f8789ba52b413d6ab7361ac10
Ensure the wedge timer isn't started until after StartStream().

Otherwise, in rare conditions, a very long StartStream() may
incorrectly cause a wedge to be flagged.

If StartStream() hangs the message loop is blocked and the timer
will never run anyways.

Also, increase wedge timer to 5 seconds.

BUG=160920
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233843 0039d316-1c4b-4281-b951-d872f2087c98
media/audio/audio_output_controller.cc