| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 unsigned int& maxJitterMs, | 293 unsigned int& maxJitterMs, |
| 294 unsigned int& discardedPackets)); | 294 unsigned int& discardedPackets)); |
| 295 MOCK_METHOD2(GetRTCPStatistics, int(int channel, CallStatistics& stats)); | 295 MOCK_METHOD2(GetRTCPStatistics, int(int channel, CallStatistics& stats)); |
| 296 MOCK_METHOD2(GetRemoteRTCPReportBlocks, | 296 MOCK_METHOD2(GetRemoteRTCPReportBlocks, |
| 297 int(int channel, std::vector<ReportBlock>* receive_blocks)); | 297 int(int channel, std::vector<ReportBlock>* receive_blocks)); |
| 298 MOCK_METHOD3(SetREDStatus, int(int channel, bool enable, int redPayloadtype)); | 298 MOCK_METHOD3(SetREDStatus, int(int channel, bool enable, int redPayloadtype)); |
| 299 MOCK_METHOD3(GetREDStatus, | 299 MOCK_METHOD3(GetREDStatus, |
| 300 int(int channel, bool& enable, int& redPayloadtype)); | 300 int(int channel, bool& enable, int& redPayloadtype)); |
| 301 MOCK_METHOD3(SetNACKStatus, int(int channel, bool enable, int maxNoPackets)); | 301 MOCK_METHOD3(SetNACKStatus, int(int channel, bool enable, int maxNoPackets)); |
| 302 | 302 |
| 303 // VoEVideoSync | |
| 304 MOCK_METHOD1(GetPlayoutBufferSize, int(int& buffer_ms)); | |
| 305 MOCK_METHOD2(SetMinimumPlayoutDelay, int(int channel, int delay_ms)); | |
| 306 MOCK_METHOD3(GetDelayEstimate, | |
| 307 int(int channel, | |
| 308 int* jitter_buffer_delay_ms, | |
| 309 int* playout_buffer_delay_ms)); | |
| 310 MOCK_CONST_METHOD1(GetLeastRequiredDelayMs, int(int channel)); | |
| 311 MOCK_METHOD2(SetInitTimestamp, int(int channel, unsigned int timestamp)); | |
| 312 MOCK_METHOD2(SetInitSequenceNumber, int(int channel, short sequenceNumber)); | |
| 313 MOCK_METHOD2(GetPlayoutTimestamp, int(int channel, unsigned int& timestamp)); | |
| 314 MOCK_METHOD3(GetRtpRtcp, | |
| 315 int(int channel, | |
| 316 RtpRtcp** rtpRtcpModule, | |
| 317 RtpReceiver** rtp_receiver)); | |
| 318 | |
| 319 // VoEVolumeControl | 303 // VoEVolumeControl |
| 320 MOCK_METHOD1(SetSpeakerVolume, int(unsigned int volume)); | 304 MOCK_METHOD1(SetSpeakerVolume, int(unsigned int volume)); |
| 321 MOCK_METHOD1(GetSpeakerVolume, int(unsigned int& volume)); | 305 MOCK_METHOD1(GetSpeakerVolume, int(unsigned int& volume)); |
| 322 MOCK_METHOD1(SetMicVolume, int(unsigned int volume)); | 306 MOCK_METHOD1(SetMicVolume, int(unsigned int volume)); |
| 323 MOCK_METHOD1(GetMicVolume, int(unsigned int& volume)); | 307 MOCK_METHOD1(GetMicVolume, int(unsigned int& volume)); |
| 324 MOCK_METHOD2(SetInputMute, int(int channel, bool enable)); | 308 MOCK_METHOD2(SetInputMute, int(int channel, bool enable)); |
| 325 MOCK_METHOD2(GetInputMute, int(int channel, bool& enabled)); | 309 MOCK_METHOD2(GetInputMute, int(int channel, bool& enabled)); |
| 326 MOCK_METHOD1(GetSpeechInputLevel, int(unsigned int& level)); | 310 MOCK_METHOD1(GetSpeechInputLevel, int(unsigned int& level)); |
| 327 MOCK_METHOD2(GetSpeechOutputLevel, int(int channel, unsigned int& level)); | 311 MOCK_METHOD2(GetSpeechOutputLevel, int(int channel, unsigned int& level)); |
| 328 MOCK_METHOD1(GetSpeechInputLevelFullRange, int(unsigned int& level)); | 312 MOCK_METHOD1(GetSpeechInputLevelFullRange, int(unsigned int& level)); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 343 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 327 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 344 | 328 |
| 345 MockAudioDeviceModule mock_audio_device_; | 329 MockAudioDeviceModule mock_audio_device_; |
| 346 MockAudioProcessing mock_audio_processing_; | 330 MockAudioProcessing mock_audio_processing_; |
| 347 MockAudioTransport mock_audio_transport_; | 331 MockAudioTransport mock_audio_transport_; |
| 348 }; | 332 }; |
| 349 } // namespace test | 333 } // namespace test |
| 350 } // namespace webrtc | 334 } // namespace webrtc |
| 351 | 335 |
| 352 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ | 336 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ |
| OLD | NEW |