Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: webrtc/test/mock_voice_engine.h

Issue 2672583002: Remove VoEVideoSync interface. (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 unsigned int& maxJitterMs, 282 unsigned int& maxJitterMs,
283 unsigned int& discardedPackets)); 283 unsigned int& discardedPackets));
284 MOCK_METHOD2(GetRTCPStatistics, int(int channel, CallStatistics& stats)); 284 MOCK_METHOD2(GetRTCPStatistics, int(int channel, CallStatistics& stats));
285 MOCK_METHOD2(GetRemoteRTCPReportBlocks, 285 MOCK_METHOD2(GetRemoteRTCPReportBlocks,
286 int(int channel, std::vector<ReportBlock>* receive_blocks)); 286 int(int channel, std::vector<ReportBlock>* receive_blocks));
287 MOCK_METHOD3(SetREDStatus, int(int channel, bool enable, int redPayloadtype)); 287 MOCK_METHOD3(SetREDStatus, int(int channel, bool enable, int redPayloadtype));
288 MOCK_METHOD3(GetREDStatus, 288 MOCK_METHOD3(GetREDStatus,
289 int(int channel, bool& enable, int& redPayloadtype)); 289 int(int channel, bool& enable, int& redPayloadtype));
290 MOCK_METHOD3(SetNACKStatus, int(int channel, bool enable, int maxNoPackets)); 290 MOCK_METHOD3(SetNACKStatus, int(int channel, bool enable, int maxNoPackets));
291 291
292 // VoEVideoSync
293 MOCK_METHOD1(GetPlayoutBufferSize, int(int& buffer_ms));
294 MOCK_METHOD2(SetMinimumPlayoutDelay, int(int channel, int delay_ms));
295 MOCK_METHOD3(GetDelayEstimate,
296 int(int channel,
297 int* jitter_buffer_delay_ms,
298 int* playout_buffer_delay_ms));
299 MOCK_CONST_METHOD1(GetLeastRequiredDelayMs, int(int channel));
300 MOCK_METHOD2(SetInitTimestamp, int(int channel, unsigned int timestamp));
301 MOCK_METHOD2(SetInitSequenceNumber, int(int channel, short sequenceNumber));
302 MOCK_METHOD2(GetPlayoutTimestamp, int(int channel, unsigned int& timestamp));
303 MOCK_METHOD3(GetRtpRtcp,
304 int(int channel,
305 RtpRtcp** rtpRtcpModule,
306 RtpReceiver** rtp_receiver));
307
308 // VoEVolumeControl 292 // VoEVolumeControl
309 MOCK_METHOD1(SetSpeakerVolume, int(unsigned int volume)); 293 MOCK_METHOD1(SetSpeakerVolume, int(unsigned int volume));
310 MOCK_METHOD1(GetSpeakerVolume, int(unsigned int& volume)); 294 MOCK_METHOD1(GetSpeakerVolume, int(unsigned int& volume));
311 MOCK_METHOD1(SetMicVolume, int(unsigned int volume)); 295 MOCK_METHOD1(SetMicVolume, int(unsigned int volume));
312 MOCK_METHOD1(GetMicVolume, int(unsigned int& volume)); 296 MOCK_METHOD1(GetMicVolume, int(unsigned int& volume));
313 MOCK_METHOD2(SetInputMute, int(int channel, bool enable)); 297 MOCK_METHOD2(SetInputMute, int(int channel, bool enable));
314 MOCK_METHOD2(GetInputMute, int(int channel, bool& enabled)); 298 MOCK_METHOD2(GetInputMute, int(int channel, bool& enabled));
315 MOCK_METHOD1(GetSpeechInputLevel, int(unsigned int& level)); 299 MOCK_METHOD1(GetSpeechInputLevel, int(unsigned int& level));
316 MOCK_METHOD2(GetSpeechOutputLevel, int(int channel, unsigned int& level)); 300 MOCK_METHOD2(GetSpeechOutputLevel, int(int channel, unsigned int& level));
317 MOCK_METHOD1(GetSpeechInputLevelFullRange, int(unsigned int& level)); 301 MOCK_METHOD1(GetSpeechInputLevelFullRange, int(unsigned int& level));
(...skipping 14 matching lines...) Expand all
332 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 316 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
333 317
334 MockAudioDeviceModule mock_audio_device_; 318 MockAudioDeviceModule mock_audio_device_;
335 MockAudioProcessing mock_audio_processing_; 319 MockAudioProcessing mock_audio_processing_;
336 MockAudioTransport mock_audio_transport_; 320 MockAudioTransport mock_audio_transport_;
337 }; 321 };
338 } // namespace test 322 } // namespace test
339 } // namespace webrtc 323 } // namespace webrtc
340 324
341 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ 325 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_
OLDNEW
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698