DescriptionDon't switch to fake audio output until stream open fails.
Moves the selection of fake audio output from AudioManagerBase
into AudioOutputResampler. Now instead of silently switching to
the fake audio path, we'll fall back into it when all else fails.
This works around issues with the HasAudioOutputDevices() code
and ensures we don't leave the user in a broken state when audio
creation fails.
The downside here is that instead of immediately switching to the
fake audio path during create stream, we now cycle through the
creation of audio streams.
BUG=158478, 162953
TEST=Manual, fake audio path takes over when all Open() calls fail.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182989
Patch Set 1 #Patch Set 2 : Fix unittests. #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|