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

Issue 899923003: Purge AudioOutputDispatcher after close delay if no proxies exist. (Closed)

Created:
5 years, 10 months ago by DaleCurtis
Modified:
5 years, 10 months ago
Reviewers:
dgreid, miu
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Purge AudioOutputDispatcher after close delay if no proxies exist. This prevents transient audio creation errors from cumulatively breaking audio output by blackholing everything to a fake audio stream after fallback attempts are exhausted. BUG=453560 TEST=new unittest, manual testing. Committed: https://crrev.com/c85184da42d043995203dbba777f08af00181d65 Cr-Commit-Position: refs/heads/master@{#314910}

Patch Set 1 : Fix comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -11 lines) Patch
M media/audio/audio_output_dispatcher_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/audio/audio_output_dispatcher_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/audio_output_proxy_unittest.cc View 1 chunk +53 lines, -0 lines 0 comments Download
M media/audio/audio_output_resampler.h View 4 chunks +18 lines, -10 lines 0 comments Download
M media/audio/audio_output_resampler.cc View 4 chunks +34 lines, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
DaleCurtis
Hey guys, please review. miu@ sorry to throw you under the bus here, but I ...
5 years, 10 months ago (2015-02-05 18:52:25 UTC) #5
miu
This all lgtm, but should the close delay be very small (or zero?) for fake ...
5 years, 10 months ago (2015-02-05 19:58:54 UTC) #6
DaleCurtis
The fake stream is created internally to the AudioOutputResampler; the AudioManager doesn't do any fallback, ...
5 years, 10 months ago (2015-02-05 20:37:55 UTC) #7
miu
On 2015/02/05 20:37:55, DaleCurtis wrote: > Repeated fallthrough to the fake audio path can be ...
5 years, 10 months ago (2015-02-05 20:47:41 UTC) #8
DaleCurtis
Having recovery at all should be enough to fix the problem provided something isn't hammering ...
5 years, 10 months ago (2015-02-05 20:57:17 UTC) #9
dgreid
the audio manager, well cras_output directly will see the add stream call fail with an ...
5 years, 10 months ago (2015-02-05 21:42:42 UTC) #10
dgreid
lgtm
5 years, 10 months ago (2015-02-05 23:13:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/899923003/60001
5 years, 10 months ago (2015-02-05 23:16:02 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:60001)
5 years, 10 months ago (2015-02-05 23:20:13 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-05 23:22:22 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c85184da42d043995203dbba777f08af00181d65
Cr-Commit-Position: refs/heads/master@{#314910}

Powered by Google App Engine
This is Rietveld 408576698