DescriptionFix bug when unplugging an audio input device whilst using speech input on Windows.
Added a three second timeout for not receiving an OnData callback in AudioInputController and a one second timeout for not receiving any callback in PCMWaveInAudioInputStream. Also added a unit test fixture for it.
BUG=79936
TEST=Unplug microphone while using speech input, browser should no longer hang.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89197
Patch Set 1 #Patch Set 2 : Whitespace #
Total comments: 12
Patch Set 3 : Feedback changes #
Total comments: 2
Patch Set 4 : DelayTimer #Patch Set 5 : Changed comments #Patch Set 6 : Removed unnecessary includes #
Total comments: 4
Patch Set 7 : Renaming #
Messages
Total messages: 11 (0 generated)
|