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

Unified Diff: content/common/media/media_param_traits.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: content/common/media/media_param_traits.cc
===================================================================
--- content/common/media/media_param_traits.cc (revision 187648)
+++ content/common/media/media_param_traits.cc (working copy)
@@ -42,8 +42,8 @@
!m->ReadInt(iter, &input_channels))
return false;
r->Reset(static_cast<AudioParameters::Format>(format),
- static_cast<ChannelLayout>(channel_layout), input_channels,
- sample_rate, bits_per_sample, frames_per_buffer);
+ static_cast<ChannelLayout>(channel_layout), channels,
+ input_channels, sample_rate, bits_per_sample, frames_per_buffer);
if (!r->IsValid())
return false;
return true;

Powered by Google App Engine
This is Rietveld 408576698