| Index: media/audio/win/audio_manager_win.cc
|
| ===================================================================
|
| --- media/audio/win/audio_manager_win.cc (revision 181072)
|
| +++ media/audio/win/audio_manager_win.cc (working copy)
|
| @@ -292,8 +292,11 @@
|
| this, params, media::NumberOfWaveOutBuffers(), WAVE_MAPPER);
|
| }
|
|
|
| - // TODO(henrika): remove once we properly handle input device selection.
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| + // TODO(crogers): support more than stereo input.
|
| + // TODO(henrika): remove flag once we properly handle input device selection.
|
| + // https://code.google.com/p/chromium/issues/detail?id=147327
|
| + if (params.input_channels() == 2 &&
|
| + CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableWebAudioInput)) {
|
| if (WASAPIUnifiedStream::HasUnifiedDefaultIO()) {
|
| DVLOG(1) << "WASAPIUnifiedStream is created.";
|
|
|