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

Unified Diff: content/renderer/media/webrtc_audio_capturer.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
Index: content/renderer/media/webrtc_audio_capturer.cc
===================================================================
--- content/renderer/media/webrtc_audio_capturer.cc (revision 189875)
+++ content/renderer/media/webrtc_audio_capturer.cc (working copy)
@@ -85,9 +85,9 @@
// bits_per_sample is always 16 for now.
int bits_per_sample = 16;
- int channels = ChannelLayoutToChannelCount(channel_layout);
- params_.Reset(format, channel_layout, channels, 0,
- sample_rate, bits_per_sample, buffer_size);
+
+ params_.Reset(format, channel_layout, 0, sample_rate, bits_per_sample,
+ buffer_size);
buffer_.reset(new int16[params_.frames_per_buffer() * params_.channels()]);
return true;

Powered by Google App Engine
This is Rietveld 408576698