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

Unified Diff: media/base/audio_converter.cc

Issue 12387006: Pass more detailed audio hardware configuration information to the renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/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
Index: media/base/audio_converter.cc
===================================================================
--- media/base/audio_converter.cc (revision 187648)
+++ media/base/audio_converter.cc (working copy)
@@ -30,8 +30,7 @@
<< " to " << output_params.channel_layout() << "; from "
<< input_params.channels() << " channels to "
<< output_params.channels() << " channels.";
- channel_mixer_.reset(new ChannelMixer(
- input_params.channel_layout(), output_params.channel_layout()));
+ channel_mixer_.reset(new ChannelMixer(input_params, output_params));
// Pare off data as early as we can for efficiency.
downmix_early_ = input_params.channels() > output_params.channels();

Powered by Google App Engine
This is Rietveld 408576698