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

Issue 8371013: Harden audio output controller making it safe to call Pause() before (Closed)

Created:
9 years, 2 months ago by enal
Modified:
9 years, 1 month ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Paweł Hajdan Jr., acolwell+watch_chromium.org, annacc+watch_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Harden audio output controller making it safe to call Pause() before Play() really started. Not sure if it really fixes the crash, but crash started happening only after Play() was split into several tasks and become much slower (http://codereview.chromium.org/8229013/ change 105311). Added unit test. BUG=100650 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106983

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -40 lines) Patch
M media/audio/audio_output_controller.h View 1 2 3 chunks +27 lines, -18 lines 0 comments Download
M media/audio/audio_output_controller.cc View 1 2 5 chunks +48 lines, -22 lines 0 comments Download
M media/audio/audio_output_controller_unittest.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
enal1
9 years, 2 months ago (2011-10-21 21:32:32 UTC) #1
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/8371013/diff/1/media/audio/audio_output_controller.cc File media/audio/audio_output_controller.cc (right): http://codereview.chromium.org/8371013/diff/1/media/audio/audio_output_controller.cc#newcode239 media/audio/audio_output_controller.cc:239: message_loop_->PostDelayedTask( This doesn't smell right. Can we add a ...
9 years, 2 months ago (2011-10-24 03:47:15 UTC) #2
enal1
http://codereview.chromium.org/8371013/diff/1/media/audio/audio_output_controller.cc File media/audio/audio_output_controller.cc (right): http://codereview.chromium.org/8371013/diff/1/media/audio/audio_output_controller.cc#newcode239 media/audio/audio_output_controller.cc:239: message_loop_->PostDelayedTask( On 2011/10/24 03:47:15, acolwell wrote: > This doesn't ...
9 years, 1 month ago (2011-10-24 16:28:29 UTC) #3
acolwell GONE FROM CHROMIUM
http://codereview.chromium.org/8371013/diff/1/media/audio/audio_output_controller.cc File media/audio/audio_output_controller.cc (right): http://codereview.chromium.org/8371013/diff/1/media/audio/audio_output_controller.cc#newcode239 media/audio/audio_output_controller.cc:239: message_loop_->PostDelayedTask( On 2011/10/24 16:28:29, enal1 wrote: > Initially I ...
9 years, 1 month ago (2011-10-24 16:59:57 UTC) #4
enal1
Changed the code, introduced new state.
9 years, 1 month ago (2011-10-24 19:00:47 UTC) #5
acolwell GONE FROM CHROMIUM
LGTM
9 years, 1 month ago (2011-10-24 19:45:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enal@chromium.org/8371013/9001
9 years, 1 month ago (2011-10-24 19:49:03 UTC) #7
commit-bot: I haz the power
9 years, 1 month ago (2011-10-24 21:58:54 UTC) #8
Change committed as 106983

Powered by Google App Engine
This is Rietveld 408576698