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

Issue 8872028: Make check for 'opened' consistent across all audio stream implementations of Start() and log an ... (Closed)

Created:
9 years ago by tommi (sloooow) - chröme
Modified:
9 years ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Make check for 'opened' consistent across all audio stream implementations of Start() and log an error if open hasn't been called successfully. This fixes BUG=106712 TEST=Run media_unittests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113679

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M media/audio/mac/audio_input_mac.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M media/audio/mac/audio_low_latency_input_mac.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/audio/mac/audio_low_latency_output_mac.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/mac/audio_output_mac.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M media/audio/pulse/pulse_output.cc View 1 1 chunk +5 lines, -1 line 0 comments Download
M media/audio/win/audio_low_latency_input_win.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M media/audio/win/audio_low_latency_output_win.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tommi (sloooow) - chröme
9 years ago (2011-12-08 19:11:36 UTC) #1
henrika (OOO until Aug 14)
LGTM with one comment which spans all files.
9 years ago (2011-12-08 20:30:35 UTC) #2
henrika (OOO until Aug 14)
http://codereview.chromium.org/8872028/diff/1/media/audio/mac/audio_low_latency_output_mac.cc File media/audio/mac/audio_low_latency_output_mac.cc (right): http://codereview.chromium.org/8872028/diff/1/media/audio/mac/audio_low_latency_output_mac.cc#newcode178 media/audio/mac/audio_low_latency_output_mac.cc:178: DLOG_IF(ERROR, !output_unit_) << "Must call Open() first"; Can we ...
9 years ago (2011-12-08 20:30:47 UTC) #3
tommi (sloooow) - chröme
http://codereview.chromium.org/8872028/diff/1/media/audio/mac/audio_low_latency_output_mac.cc File media/audio/mac/audio_low_latency_output_mac.cc (right): http://codereview.chromium.org/8872028/diff/1/media/audio/mac/audio_low_latency_output_mac.cc#newcode178 media/audio/mac/audio_low_latency_output_mac.cc:178: DLOG_IF(ERROR, !output_unit_) << "Must call Open() first"; On 2011/12/08 ...
9 years ago (2011-12-08 20:47:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommi@chromium.org/8872028/3002
9 years ago (2011-12-08 20:47:52 UTC) #5
commit-bot: I haz the power
9 years ago (2011-12-08 22:34:07 UTC) #6
Change committed as 113679

Powered by Google App Engine
This is Rietveld 408576698