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

Issue 9234066: Detect errors in audio output and report them upstream. (Closed)

Created:
8 years, 11 months ago by Ami GONE FROM CHROMIUM
Modified:
8 years, 11 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, jam, acolwell+watch_chromium.org, annacc+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org, Chris Rogers
Visibility:
Public.

Description

Detect errors in audio output and report them upstream. Stop feeding audio packets to AUDIO DemuxerStreams once audio has been disabled. BUG=111409 TEST=uninstall pulseaudio, make /dev/snd inaccessible, and observe <video> plays correctly (muted) instead of hanging. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119488

Patch Set 1 : . #

Total comments: 7

Patch Set 2 : . #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -9 lines) Patch
M content/renderer/media/audio_device.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/audio_renderer_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/audio_renderer_impl.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/webrtc_audio_device_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/renderer_webaudiodevice_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/renderer_webaudiodevice_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/linux/alsa_output.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M media/audio/linux/alsa_output_unittest.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
M media/base/audio_renderer_sink.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.h View 1 chunk +4 lines, -0 lines 0 comments Download
M media/filters/ffmpeg_demuxer.cc View 4 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ami GONE FROM CHROMIUM
scherkus: please review crogers: please review and note that I gave you a TODO in ...
8 years, 11 months ago (2012-01-26 19:17:58 UTC) #1
Chris Rogers
Ami, this looks fine to me for the OnError() part. I'm not yet quite sure ...
8 years, 11 months ago (2012-01-26 19:31:02 UTC) #2
Ami GONE FROM CHROMIUM
jam: please OWNERS-review for content/renderer/.
8 years, 11 months ago (2012-01-26 20:19:17 UTC) #3
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/9234066/diff/2001/content/renderer/media/audio_renderer_impl.cc File content/renderer/media/audio_renderer_impl.cc (right): https://chromiumcodereview.appspot.com/9234066/diff/2001/content/renderer/media/audio_renderer_impl.cc#newcode253 content/renderer/media/audio_renderer_impl.cc:253: if (host()) nit: according to the superclass host() should ...
8 years, 11 months ago (2012-01-26 21:46:12 UTC) #4
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/9234066/diff/2001/content/renderer/media/audio_renderer_impl.cc File content/renderer/media/audio_renderer_impl.cc (right): https://chromiumcodereview.appspot.com/9234066/diff/2001/content/renderer/media/audio_renderer_impl.cc#newcode253 content/renderer/media/audio_renderer_impl.cc:253: if (host()) On 2012/01/26 21:46:13, scherkus wrote: > nit: ...
8 years, 11 months ago (2012-01-26 22:11:01 UTC) #5
scherkus (not reviewing)
LGTM want to check w/ imasaki whether we have a manual test case for this? ...
8 years, 11 months ago (2012-01-26 22:28:09 UTC) #6
Ami GONE FROM CHROMIUM
> > want to check w/ imasaki whether we have a manual test case for ...
8 years, 11 months ago (2012-01-26 22:43:14 UTC) #7
henrika (OOO until Aug 14)
Looks great, thanks. I'm sure we can use it in WebRTC as well. I have ...
8 years, 11 months ago (2012-01-27 15:01:30 UTC) #8
Ami GONE FROM CHROMIUM
On 2012/01/27 15:01:30, henrika wrote: > and I don't really understand how this CL generates ...
8 years, 11 months ago (2012-01-27 17:55:31 UTC) #9
jam
lgtm for content/renderer/renderer_webaudiodevice_impl.* why not move these files to the media subdir so you don't ...
8 years, 11 months ago (2012-01-27 18:19:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fischman@chromium.org/9234066/6013
8 years, 11 months ago (2012-01-27 18:23:53 UTC) #11
Ami GONE FROM CHROMIUM
> why not move these files to the media subdir so you don't need owners ...
8 years, 11 months ago (2012-01-27 18:24:15 UTC) #12
commit-bot: I haz the power
8 years, 11 months ago (2012-01-27 20:36:11 UTC) #13
Change committed as 119488

Powered by Google App Engine
This is Rietveld 408576698