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

Issue 381823003: Allow AudioRendererMixerInputs to be restarted after stopped. (Closed)

Created:
6 years, 5 months ago by DaleCurtis
Modified:
6 years, 5 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Allow AudioRendererMixerInputs to be restarted after stopped. We probably shouldn't allow this, but it's currently relied upon by the WebAudio code and cleaning it up is a big deal: http://crbug.com/151051. The AudioRendererSink interface does not specify that after Stop() the sink can no longer be used. All other sinks allow restart, so this is just keeping with the pace. In http://crrev.com/280502 I conflated the one-stop-only mechanics of AudioRenderer:Stop() with those of AudioRendererSink::Stop(). This patch reverts that mistake while keeping the fixes for the original issue. BUG=389204, 390977 TEST=new unittest. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282481

Patch Set 1 #

Total comments: 6

Patch Set 2 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -15 lines) Patch
M content/renderer/media/audio_renderer_mixer_manager_unittest.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M media/base/audio_renderer_mixer_input.cc View 1 4 chunks +11 lines, -9 lines 0 comments Download
M media/base/audio_renderer_mixer_input_unittest.cc View 3 chunks +9 lines, -1 line 0 comments Download
M media/base/audio_renderer_mixer_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
DaleCurtis
6 years, 5 months ago (2014-07-09 22:57:59 UTC) #1
rileya (GONE FROM CHROMIUM)
lgtm + a couple comments https://codereview.chromium.org/381823003/diff/1/media/base/audio_renderer_mixer_input.cc File media/base/audio_renderer_mixer_input.cc (right): https://codereview.chromium.org/381823003/diff/1/media/base/audio_renderer_mixer_input.cc#newcode31 media/base/audio_renderer_mixer_input.cc:31: void AudioRendererMixerInput::Initialize( Initialize() doesn't ...
6 years, 5 months ago (2014-07-10 19:12:43 UTC) #2
DaleCurtis
https://codereview.chromium.org/381823003/diff/1/media/base/audio_renderer_mixer_input.cc File media/base/audio_renderer_mixer_input.cc (right): https://codereview.chromium.org/381823003/diff/1/media/base/audio_renderer_mixer_input.cc#newcode31 media/base/audio_renderer_mixer_input.cc:31: void AudioRendererMixerInput::Initialize( On 2014/07/10 19:12:42, rileya wrote: > Initialize() ...
6 years, 5 months ago (2014-07-10 19:18:55 UTC) #3
DaleCurtis
The CQ bit was checked by dalecurtis@chromium.org
6 years, 5 months ago (2014-07-10 19:19:03 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/381823003/20001
6 years, 5 months ago (2014-07-10 19:21:34 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 5 months ago (2014-07-10 21:48:06 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 00:37:09 UTC) #7
Message was sent while issue was closed.
Change committed as 282481

Powered by Google App Engine
This is Rietveld 408576698