| 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 5013103a03138d010d9c30158de6f1f612cfee3f..ffee2122b7789e7648f5cc00d1251cc79ac4baaa 100644
|
| --- a/content/renderer/media/webrtc_audio_device_unittest.cc
|
| +++ b/content/renderer/media/webrtc_audio_device_unittest.cc
|
| @@ -119,7 +119,7 @@ bool CreateAndInitializeCapturer(WebRtcAudioDeviceImpl* webrtc_audio_device) {
|
| int sample_rate = hardware_config->GetInputSampleRate();
|
| media::ChannelLayout channel_layout =
|
| hardware_config->GetInputChannelLayout();
|
| - if (!capturer->Initialize(kRenderViewId, channel_layout, sample_rate, 1,
|
| + if (!capturer->Initialize(kRenderViewId, channel_layout, sample_rate, 0, 1,
|
| media::AudioManagerBase::kDefaultDeviceId)) {
|
| return false;
|
| }
|
| @@ -137,7 +137,7 @@ scoped_refptr<WebRtcLocalAudioTrack>
|
| CreateAndStartLocalAudioTrack(WebRtcAudioCapturer* capturer,
|
| WebRtcAudioCapturerSink* sink) {
|
| scoped_refptr<WebRtcLocalAudioTrack> local_audio_track(
|
| - WebRtcLocalAudioTrack::Create(std::string(), capturer, NULL, NULL));
|
| + WebRtcLocalAudioTrack::Create(std::string(), capturer, NULL, NULL, NULL));
|
| local_audio_track->AddSink(sink);
|
| local_audio_track->Start();
|
| return local_audio_track;
|
|
|