DescriptionRevert 238325 "Attempt to fix audio wedges by restarting all str..."
> Attempt to fix audio wedges by restarting all streams on OSX.
>
> Introduces two new methods to AudioOutputDispatcher:
> CloseStreamsForWedgeFix() and RestartStreamsForWedgeFix().
>
> Respectively, each method closes or restarts all active
> streams owned by a given dispatcher. The process is
> completely transparent to upstream clients.
>
> A new method on AudioManager, FixWedgedAudio() calls
> CloseStreamsForWedgeFix() for all dispatchers and then
> calls RestartStreamsForWedgeFix() afterward.
>
> FixWedgedAudio() is called by each AudioOutputController
> when a wedge is detected. Multiple in flight wedge checks
> are serialized by the audio thread. The hope is that wedges
> will be fixed before the next WedgeCheck() fires.
>
> While the methods are available on all platforms, FixWedgedAudio()
> is only wired up on OSX.
>
> BUG=160920
> TEST=unittest. fake wedge and observe stream recreation.
> R=scherkus@chromium.org
>
> Review URL: https://codereview.chromium.org/61203008
TBR=dalecurtis@google.com
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238327
Patch Set 1 #Messages
Total messages: 2 (0 generated)
|