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

Unified Diff: media/audio/audio_manager_base.cc

Issue 11878032: Plumb |input_channels| all the way to AudioManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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/audio_input_device.cc ('k') | media/audio/audio_output_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager_base.cc
===================================================================
--- media/audio/audio_manager_base.cc (revision 181072)
+++ media/audio/audio_manager_base.cc (working copy)
@@ -396,7 +396,8 @@
// TODO(dalecurtis): This should include bits per channel and channel layout
// eventually.
return AudioParameters(
- AudioParameters::AUDIO_PCM_LOW_LATENCY, input_params.channel_layout(),
+ AudioParameters::AUDIO_PCM_LOW_LATENCY,
+ input_params.channel_layout(), input_params.input_channels(),
GetAudioHardwareSampleRate(), 16, GetAudioHardwareBufferSize());
#endif // defined(OS_IOS)
}
« no previous file with comments | « media/audio/audio_input_device.cc ('k') | media/audio/audio_output_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698