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

Issue 11408002: Make channel mixing checks explicit. (Closed)

Created:
8 years, 1 month ago by DaleCurtis
Modified:
8 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Make channel mixing checks explicit. The existing checks were not strong enough and would pass through certain up mixing situations which are not supported. BUG=159924 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=166714

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M audio_low_latency_output_win.cc View 2 chunks +15 lines, -13 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
DaleCurtis
Henrik, PTAL. This is a commit directly into M23 branch. Haven't tested yet since I'm ...
8 years, 1 month ago (2012-11-08 01:31:49 UTC) #1
henrika (OOO until Aug 14)
LGTM. Just checking. This will only affect M23 and not M24 or later. Correct?
8 years, 1 month ago (2012-11-08 08:27:36 UTC) #2
henrika (OOO until Aug 14)
https://codereview.chromium.org/11408002/diff/1/audio_low_latency_output_win.cc File audio_low_latency_output_win.cc (right): https://codereview.chromium.org/11408002/diff/1/audio_low_latency_output_win.cc#newcode506 audio_low_latency_output_win.cc:506: if (format_.Format.nChannels != client_channel_count_ && We could perhaps keep ...
8 years, 1 month ago (2012-11-08 08:27:42 UTC) #3
DaleCurtis
8 years, 1 month ago (2012-11-08 18:39:30 UTC) #4
Committed.

https://codereview.chromium.org/11408002/diff/1/audio_low_latency_output_win.cc
File audio_low_latency_output_win.cc (right):

https://codereview.chromium.org/11408002/diff/1/audio_low_latency_output_win....
audio_low_latency_output_win.cc:506: if (format_.Format.nChannels !=
client_channel_count_ &&
On 2012/11/08 08:27:42, henrika wrote:
> We could perhaps keep some comments. You removed them all.

The old ones are out of date and the LOG(ERROR) explains what the check is
doing.

Powered by Google App Engine
This is Rietveld 408576698