| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 #ifndef WEBRTC_TEST_CALL_TEST_H_ | 10 #ifndef WEBRTC_TEST_CALL_TEST_H_ |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 VoiceEngine* voice_engine; | 139 VoiceEngine* voice_engine; |
| 140 VoEBase* base; | 140 VoEBase* base; |
| 141 int channel_id; | 141 int channel_id; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 void CreateVoiceEngines(); | 144 void CreateVoiceEngines(); |
| 145 void DestroyVoiceEngines(); | 145 void DestroyVoiceEngines(); |
| 146 | 146 |
| 147 VoiceEngineState voe_send_; | 147 VoiceEngineState voe_send_; |
| 148 VoiceEngineState voe_recv_; | 148 VoiceEngineState voe_recv_; |
| 149 rtc::scoped_refptr<AudioProcessing> apm_send_; |
| 150 rtc::scoped_refptr<AudioProcessing> apm_recv_; |
| 149 | 151 |
| 150 // The audio devices must outlive the voice engines. | 152 // The audio devices must outlive the voice engines. |
| 151 std::unique_ptr<test::FakeAudioDevice> fake_send_audio_device_; | 153 std::unique_ptr<test::FakeAudioDevice> fake_send_audio_device_; |
| 152 std::unique_ptr<test::FakeAudioDevice> fake_recv_audio_device_; | 154 std::unique_ptr<test::FakeAudioDevice> fake_recv_audio_device_; |
| 153 }; | 155 }; |
| 154 | 156 |
| 155 class BaseTest : public RtpRtcpObserver { | 157 class BaseTest : public RtpRtcpObserver { |
| 156 public: | 158 public: |
| 157 BaseTest(); | 159 BaseTest(); |
| 158 explicit BaseTest(unsigned int timeout_ms); | 160 explicit BaseTest(unsigned int timeout_ms); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 EndToEndTest(); | 222 EndToEndTest(); |
| 221 explicit EndToEndTest(unsigned int timeout_ms); | 223 explicit EndToEndTest(unsigned int timeout_ms); |
| 222 | 224 |
| 223 bool ShouldCreateReceivers() const override; | 225 bool ShouldCreateReceivers() const override; |
| 224 }; | 226 }; |
| 225 | 227 |
| 226 } // namespace test | 228 } // namespace test |
| 227 } // namespace webrtc | 229 } // namespace webrtc |
| 228 | 230 |
| 229 #endif // WEBRTC_TEST_CALL_TEST_H_ | 231 #endif // WEBRTC_TEST_CALL_TEST_H_ |
| OLD | NEW |