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

Unified Diff: media/base/audio_converter.cc

Issue 12662038: Revert 187936 "Pass more detailed audio hardware configuration i..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1440/src/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/mac/audio_manager_mac.cc ('k') | media/base/audio_hardware_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_converter.cc
===================================================================
--- media/base/audio_converter.cc (revision 189875)
+++ media/base/audio_converter.cc (working copy)
@@ -30,7 +30,8 @@
<< " to " << output_params.channel_layout() << "; from "
<< input_params.channels() << " channels to "
<< output_params.channels() << " channels.";
- channel_mixer_.reset(new ChannelMixer(input_params, output_params));
+ channel_mixer_.reset(new ChannelMixer(
+ input_params.channel_layout(), output_params.channel_layout()));
// Pare off data as early as we can for efficiency.
downmix_early_ = input_params.channels() > output_params.channels();
« no previous file with comments | « media/audio/mac/audio_manager_mac.cc ('k') | media/base/audio_hardware_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698