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

Issue 301223012: Deliver RenderCallbackErrors even when mixer inputs are paused. (Closed)

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

Description

Deliver RenderCallbackErrors even when mixer inputs are paused. See the bug for more details. Fixes potential stuck playback. - Separates error callback registration from mixer input addition. - Removes |mixer_inputs_| in favor of letting AudioConverter manage. - Adds a new unittest to verify paused inputs receive errors. This fixes the problem implicitly because AudioRendererImpl will deliver a decode error which shuts down the pipeline. BUG=379374 TEST=new unittest. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275585

Patch Set 1 #

Total comments: 2

Patch Set 2 : List! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -31 lines) Patch
M media/base/audio_converter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/audio_renderer_mixer.h View 1 2 chunks +13 lines, -8 lines 0 comments Download
M media/base/audio_renderer_mixer.cc View 1 2 chunks +32 lines, -19 lines 0 comments Download
M media/base/audio_renderer_mixer_input.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M media/base/audio_renderer_mixer_unittest.cc View 2 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
DaleCurtis
Alternate solution considered: Tracking an error state inside AudioRendererMixer and shutting down the sink immediately ...
6 years, 6 months ago (2014-05-31 01:06:57 UTC) #1
scherkus (not reviewing)
few questions -- also not super familiar w/ the code so might have to chat ...
6 years, 6 months ago (2014-06-03 02:01:31 UTC) #2
DaleCurtis
cjohn@ reported seeing this with Play music when killing pulseaudio while paused; see http://b/15346061 -- ...
6 years, 6 months ago (2014-06-03 20:26:19 UTC) #3
DaleCurtis
scherkus: Ping!
6 years, 6 months ago (2014-06-06 17:38:02 UTC) #4
scherkus (not reviewing)
lgtm
6 years, 6 months ago (2014-06-06 21:46:57 UTC) #5
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 6 months ago (2014-06-06 21:51:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dalecurtis@chromium.org/301223012/40001
6 years, 6 months ago (2014-06-06 21:53:08 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-07 01:47:05 UTC) #8
Message was sent while issue was closed.
Change committed as 275585

Powered by Google App Engine
This is Rietveld 408576698