| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 MOCK_METHOD2(SetFECStatus, int(int channel, bool enable)); | 152 MOCK_METHOD2(SetFECStatus, int(int channel, bool enable)); |
| 153 MOCK_METHOD2(GetFECStatus, int(int channel, bool& enabled)); | 153 MOCK_METHOD2(GetFECStatus, int(int channel, bool& enabled)); |
| 154 MOCK_METHOD4(SetVADStatus, | 154 MOCK_METHOD4(SetVADStatus, |
| 155 int(int channel, bool enable, VadModes mode, bool disableDTX)); | 155 int(int channel, bool enable, VadModes mode, bool disableDTX)); |
| 156 MOCK_METHOD4( | 156 MOCK_METHOD4( |
| 157 GetVADStatus, | 157 GetVADStatus, |
| 158 int(int channel, bool& enabled, VadModes& mode, bool& disabledDTX)); | 158 int(int channel, bool& enabled, VadModes& mode, bool& disabledDTX)); |
| 159 MOCK_METHOD2(SetOpusMaxPlaybackRate, int(int channel, int frequency_hz)); | 159 MOCK_METHOD2(SetOpusMaxPlaybackRate, int(int channel, int frequency_hz)); |
| 160 MOCK_METHOD2(SetOpusDtx, int(int channel, bool enable_dtx)); | 160 MOCK_METHOD2(SetOpusDtx, int(int channel, bool enable_dtx)); |
| 161 | 161 |
| 162 // VoEExternalMedia | |
| 163 MOCK_METHOD3(RegisterExternalMediaProcessing, | |
| 164 int(int channel, | |
| 165 ProcessingTypes type, | |
| 166 VoEMediaProcess& processObject)); | |
| 167 MOCK_METHOD2(DeRegisterExternalMediaProcessing, | |
| 168 int(int channel, ProcessingTypes type)); | |
| 169 MOCK_METHOD3(GetAudioFrame, | |
| 170 int(int channel, int desired_sample_rate_hz, AudioFrame* frame)); | |
| 171 MOCK_METHOD2(SetExternalMixing, int(int channel, bool enable)); | |
| 172 | |
| 173 // VoEFile | 162 // VoEFile |
| 174 MOCK_METHOD7(StartPlayingFileLocally, | 163 MOCK_METHOD7(StartPlayingFileLocally, |
| 175 int(int channel, | 164 int(int channel, |
| 176 const char fileNameUTF8[1024], | 165 const char fileNameUTF8[1024], |
| 177 bool loop, | 166 bool loop, |
| 178 FileFormats format, | 167 FileFormats format, |
| 179 float volumeScaling, | 168 float volumeScaling, |
| 180 int startPointMs, | 169 int startPointMs, |
| 181 int stopPointMs)); | 170 int stopPointMs)); |
| 182 MOCK_METHOD6(StartPlayingFileLocally, | 171 MOCK_METHOD6(StartPlayingFileLocally, |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 332 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 344 | 333 |
| 345 MockAudioDeviceModule mock_audio_device_; | 334 MockAudioDeviceModule mock_audio_device_; |
| 346 MockAudioProcessing mock_audio_processing_; | 335 MockAudioProcessing mock_audio_processing_; |
| 347 MockAudioTransport mock_audio_transport_; | 336 MockAudioTransport mock_audio_transport_; |
| 348 }; | 337 }; |
| 349 } // namespace test | 338 } // namespace test |
| 350 } // namespace webrtc | 339 } // namespace webrtc |
| 351 | 340 |
| 352 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ | 341 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ |
| OLD | NEW |