Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Issue 101473002: Revert 238325 "Attempt to fix audio wedges by restarting all str..." (Closed)

Created:
7 years ago by Patrick Dubroy
Modified:
7 years ago
Reviewers:
Dale Curtis
CC:
chromium-reviews
Visibility:
Public.

Description

Revert 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -163 lines) Patch
M trunk/src/media/audio/audio_manager.h View 1 chunk +0 lines, -5 lines 0 comments Download
M trunk/src/media/audio/audio_manager_base.h View 1 chunk +0 lines, -2 lines 0 comments Download
M trunk/src/media/audio/audio_manager_base.cc View 1 chunk +0 lines, -28 lines 0 comments Download
M trunk/src/media/audio/audio_output_controller.cc View 1 chunk +2 lines, -9 lines 0 comments Download
M trunk/src/media/audio/audio_output_dispatcher.h View 1 chunk +0 lines, -7 lines 0 comments Download
M trunk/src/media/audio/audio_output_dispatcher_impl.h View 1 chunk +0 lines, -3 lines 0 comments Download
M trunk/src/media/audio/audio_output_dispatcher_impl.cc View 2 chunks +0 lines, -19 lines 0 comments Download
M trunk/src/media/audio/audio_output_proxy_unittest.cc View 1 chunk +0 lines, -60 lines 0 comments Download
M trunk/src/media/audio/audio_output_resampler.h View 1 chunk +0 lines, -2 lines 0 comments Download
M trunk/src/media/audio/audio_output_resampler.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M trunk/src/media/audio/mock_audio_manager.h View 1 chunk +0 lines, -2 lines 0 comments Download
M trunk/src/media/audio/mock_audio_manager.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Patrick Dubroy
7 years ago (2013-12-03 09:32:38 UTC) #1
Patrick Dubroy
7 years ago (2013-12-03 09:33:08 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r238327.

Powered by Google App Engine
This is Rietveld 408576698