| 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 8442fc1bc11983fded607069a7401d18fd1c596d..1ce01911eee08c0128d8fd9c4c4348ea27d95265 100644
|
| --- a/media/audio/win/core_audio_util_win.cc
|
| +++ b/media/audio/win/core_audio_util_win.cc
|
| @@ -772,7 +772,7 @@ HRESULT CoreAudioUtil::GetPreferredAudioParameters(const std::string& device_id,
|
| // TODO(dalecurtis): Old code rewrote != 1 channels to stereo, do we still
|
| // need to do the same thing?
|
| if (params->channels() != 1) {
|
| - params->Reset(params->format(), CHANNEL_LAYOUT_STEREO, 2,
|
| + params->Reset(params->format(), CHANNEL_LAYOUT_STEREO,
|
| params->sample_rate(), params->bits_per_sample(),
|
| params->frames_per_buffer());
|
| }
|
|
|