| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2010 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 int GetAssociateSendChannel(int channel) { | 222 int GetAssociateSendChannel(int channel) { |
| 223 return channels_[channel]->associate_send_channel; | 223 return channels_[channel]->associate_send_channel; |
| 224 } | 224 } |
| 225 | 225 |
| 226 WEBRTC_STUB(Release, ()); | 226 WEBRTC_STUB(Release, ()); |
| 227 | 227 |
| 228 // webrtc::VoEBase | 228 // webrtc::VoEBase |
| 229 WEBRTC_STUB(RegisterVoiceEngineObserver, ( | 229 WEBRTC_STUB(RegisterVoiceEngineObserver, ( |
| 230 webrtc::VoiceEngineObserver& observer)); | 230 webrtc::VoiceEngineObserver& observer)); |
| 231 WEBRTC_STUB(DeRegisterVoiceEngineObserver, ()); | 231 WEBRTC_STUB(DeRegisterVoiceEngineObserver, ()); |
| 232 WEBRTC_FUNC(Init, (webrtc::AudioDeviceModule* adm, | 232 WEBRTC_FUNC(Init, |
| 233 webrtc::AudioProcessing* audioproc)) { | 233 (webrtc::AudioDeviceModule* adm, |
| 234 webrtc::AudioProcessing* audioproc, |
| 235 std::shared_ptr<webrtc::AudioDecoderFactory> decoder_factory)) { |
| 234 inited_ = true; | 236 inited_ = true; |
| 235 return 0; | 237 return 0; |
| 236 } | 238 } |
| 237 WEBRTC_FUNC(Terminate, ()) { | 239 WEBRTC_FUNC(Terminate, ()) { |
| 238 inited_ = false; | 240 inited_ = false; |
| 239 return 0; | 241 return 0; |
| 240 } | 242 } |
| 241 webrtc::AudioProcessing* audio_processing() override { | 243 webrtc::AudioProcessing* audio_processing() override { |
| 242 return &audio_processing_; | 244 return &audio_processing_; |
| 243 } | 245 } |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 webrtc::NsModes ns_mode_ = webrtc::kNsDefault; | 664 webrtc::NsModes ns_mode_ = webrtc::kNsDefault; |
| 663 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault; | 665 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault; |
| 664 webrtc::AgcConfig agc_config_; | 666 webrtc::AgcConfig agc_config_; |
| 665 int playout_fail_channel_ = -1; | 667 int playout_fail_channel_ = -1; |
| 666 FakeAudioProcessing audio_processing_; | 668 FakeAudioProcessing audio_processing_; |
| 667 }; | 669 }; |
| 668 | 670 |
| 669 } // namespace cricket | 671 } // namespace cricket |
| 670 | 672 |
| 671 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ | 673 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ |
| OLD | NEW |