Index: media/audio/win/core_audio_util_win.cc |
diff --git a/media/audio/win/core_audio_util_win.cc b/media/audio/win/core_audio_util_win.cc |
index a01229c9cc89dd0d6c4e175741608c38bec36dca..29e955efce9e7e6eda70ffe276f95ace66dc0cbe 100644 |
--- a/media/audio/win/core_audio_util_win.cc |
+++ b/media/audio/win/core_audio_util_win.cc |
@@ -698,8 +698,8 @@ |
if (role == eCommunications) { |
// Raise the 'DUCKING' flag for default communication devices. |
*params = AudioParameters(params->format(), params->channel_layout(), |
- params->channels(), params->sample_rate(), params->bits_per_sample(), |
- params->frames_per_buffer(), |
+ params->channels(), params->input_channels(), params->sample_rate(), |
+ params->bits_per_sample(), params->frames_per_buffer(), |
params->effects() | AudioParameters::DUCKING); |
} |