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

Issue 17463009: Try not to let the AUHAL driver get stuck sending silence. (Closed)

Created:
7 years, 6 months ago by DaleCurtis
Modified:
7 years, 6 months ago
Reviewers:
Chris Rogers
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Try not to let the AUHAL driver get stuck sending silence. It seems that when waking from sleep we may miss device change notifications and end up in a perpetually silent state. Try to avoid this by posting a task if we get into this state. Only do this once. AudioManagerMac will ignore the request if no change has taken place. BUG=160920, 249830 TEST=no crashes. audio plays, device changes work. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207786

Patch Set 1 : Remove extra log. #

Total comments: 2

Patch Set 2 : Modify comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M media/audio/mac/audio_auhal_mac.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/mac/audio_auhal_mac.cc View 1 3 chunks +12 lines, -0 lines 0 comments Download
M media/audio/mac/audio_manager_mac.h View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
DaleCurtis
7 years, 6 months ago (2013-06-20 18:56:47 UTC) #1
Chris Rogers
This is kind of ugly. Have you been able to confirm it fixes the wake-from-sleep ...
7 years, 6 months ago (2013-06-20 19:13:19 UTC) #2
DaleCurtis
Guess so far, haven't been able to repro so far on my laptop. https://codereview.chromium.org/17463009/diff/2001/media/audio/mac/audio_auhal_mac.cc File ...
7 years, 6 months ago (2013-06-20 19:25:29 UTC) #3
Chris Rogers
ok, lgtm since you want to try this out. But if it doesn't solve the ...
7 years, 6 months ago (2013-06-20 19:27:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/17463009/9001
7 years, 6 months ago (2013-06-20 19:41:31 UTC) #5
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 10:14:56 UTC) #6
Message was sent while issue was closed.
Change committed as 207786

Powered by Google App Engine
This is Rietveld 408576698