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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 MOCK_METHOD2(GetAudioFrameWithInfo, | 69 MOCK_METHOD2(GetAudioFrameWithInfo, |
70 AudioMixer::Source::AudioFrameInfo(int sample_rate_hz, | 70 AudioMixer::Source::AudioFrameInfo(int sample_rate_hz, |
71 AudioFrame* audio_frame)); | 71 AudioFrame* audio_frame)); |
72 MOCK_CONST_METHOD0(NeededFrequency, int()); | 72 MOCK_CONST_METHOD0(NeededFrequency, int()); |
73 MOCK_METHOD1(SetTransportOverhead, void(int transport_overhead_per_packet)); | 73 MOCK_METHOD1(SetTransportOverhead, void(int transport_overhead_per_packet)); |
74 MOCK_METHOD1(AssociateSendChannel, | 74 MOCK_METHOD1(AssociateSendChannel, |
75 void(const ChannelProxy& send_channel_proxy)); | 75 void(const ChannelProxy& send_channel_proxy)); |
76 MOCK_METHOD0(DisassociateSendChannel, void()); | 76 MOCK_METHOD0(DisassociateSendChannel, void()); |
77 MOCK_CONST_METHOD2(GetRtpRtcp, void(RtpRtcp** rtp_rtcp, | 77 MOCK_CONST_METHOD2(GetRtpRtcp, void(RtpRtcp** rtp_rtcp, |
78 RtpReceiver** rtp_receiver)); | 78 RtpReceiver** rtp_receiver)); |
79 MOCK_CONST_METHOD2(GetDelayEstimate, void(int* jitter_buffer_delay_ms, | |
80 int* playout_buffer_delay_ms)); | |
81 MOCK_CONST_METHOD0(GetPlayoutTimestamp, uint32_t()); | 79 MOCK_CONST_METHOD0(GetPlayoutTimestamp, uint32_t()); |
82 MOCK_METHOD1(SetMinimumPlayoutDelay, void(int delay_ms)); | 80 MOCK_METHOD1(SetMinimumPlayoutDelay, void(int delay_ms)); |
83 MOCK_CONST_METHOD1(GetRecCodec, bool(CodecInst* codec_inst)); | 81 MOCK_CONST_METHOD1(GetRecCodec, bool(CodecInst* codec_inst)); |
84 MOCK_CONST_METHOD1(GetSendCodec, bool(CodecInst* codec_inst)); | 82 MOCK_CONST_METHOD1(GetSendCodec, bool(CodecInst* codec_inst)); |
85 MOCK_METHOD1(SetVADStatus, bool(bool enable)); | 83 MOCK_METHOD1(SetVADStatus, bool(bool enable)); |
86 MOCK_METHOD1(SetCodecFECStatus, bool(bool enable)); | 84 MOCK_METHOD1(SetCodecFECStatus, bool(bool enable)); |
87 MOCK_METHOD1(SetOpusDtx, bool(bool enable)); | 85 MOCK_METHOD1(SetOpusDtx, bool(bool enable)); |
88 MOCK_METHOD1(SetOpusMaxPlaybackRate, bool(int frequency_hz)); | 86 MOCK_METHOD1(SetOpusMaxPlaybackRate, bool(int frequency_hz)); |
89 MOCK_METHOD1(SetSendCodec, bool(const CodecInst& codec_inst)); | 87 MOCK_METHOD1(SetSendCodec, bool(const CodecInst& codec_inst)); |
90 MOCK_METHOD2(SetSendCNPayloadType, | 88 MOCK_METHOD2(SetSendCNPayloadType, |
91 bool(int type, PayloadFrequencies frequency)); | 89 bool(int type, PayloadFrequencies frequency)); |
92 }; | 90 }; |
93 } // namespace test | 91 } // namespace test |
94 } // namespace webrtc | 92 } // namespace webrtc |
95 | 93 |
96 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ | 94 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ |
OLD | NEW |