| Index: content/renderer/media/webrtc_audio_device_unittest.cc
|
| diff --git a/content/renderer/media/webrtc_audio_device_unittest.cc b/content/renderer/media/webrtc_audio_device_unittest.cc
|
| index 4fb749202e99a4483d61ce37b9ce4e2e2c45cf81..2d111e0f5de5e2fe3e4ee03e65f40cd7d1f09c21 100644
|
| --- a/content/renderer/media/webrtc_audio_device_unittest.cc
|
| +++ b/content/renderer/media/webrtc_audio_device_unittest.cc
|
| @@ -100,11 +100,9 @@ bool InitializeCapturer(WebRtcAudioDeviceImpl* webrtc_audio_device) {
|
| int sample_rate = hardware_config->GetInputSampleRate();
|
| media::ChannelLayout channel_layout =
|
| hardware_config->GetInputChannelLayout();
|
| - if (!capturer->Initialize(channel_layout, sample_rate))
|
| + if (!capturer->Initialize(channel_layout, sample_rate, 1))
|
| return false;
|
|
|
| - // Ensures that the default capture device is utilized.
|
| - webrtc_audio_device->capturer()->SetDevice(1);
|
| return true;
|
| }
|
|
|
|
|