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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 int(int channel, int type, PayloadFrequencies frequency)); | 134 int(int channel, int type, PayloadFrequencies frequency)); |
135 MOCK_METHOD2(SetFECStatus, int(int channel, bool enable)); | 135 MOCK_METHOD2(SetFECStatus, int(int channel, bool enable)); |
136 MOCK_METHOD2(GetFECStatus, int(int channel, bool& enabled)); | 136 MOCK_METHOD2(GetFECStatus, int(int channel, bool& enabled)); |
137 MOCK_METHOD4(SetVADStatus, | 137 MOCK_METHOD4(SetVADStatus, |
138 int(int channel, bool enable, VadModes mode, bool disableDTX)); | 138 int(int channel, bool enable, VadModes mode, bool disableDTX)); |
139 MOCK_METHOD4( | 139 MOCK_METHOD4( |
140 GetVADStatus, | 140 GetVADStatus, |
141 int(int channel, bool& enabled, VadModes& mode, bool& disabledDTX)); | 141 int(int channel, bool& enabled, VadModes& mode, bool& disabledDTX)); |
142 MOCK_METHOD2(SetOpusMaxPlaybackRate, int(int channel, int frequency_hz)); | 142 MOCK_METHOD2(SetOpusMaxPlaybackRate, int(int channel, int frequency_hz)); |
143 MOCK_METHOD2(SetOpusDtx, int(int channel, bool enable_dtx)); | 143 MOCK_METHOD2(SetOpusDtx, int(int channel, bool enable_dtx)); |
144 MOCK_METHOD0(GetEventLog, RtcEventLog*()); | |
145 | 144 |
146 // VoEDtmf | 145 // VoEDtmf |
147 MOCK_METHOD5(SendTelephoneEvent, | 146 MOCK_METHOD5(SendTelephoneEvent, |
148 int(int channel, | 147 int(int channel, |
149 int eventCode, | 148 int eventCode, |
150 bool outOfBand, | 149 bool outOfBand, |
151 int lengthMs, | 150 int lengthMs, |
152 int attenuationDb)); | 151 int attenuationDb)); |
153 MOCK_METHOD2(SetSendTelephoneEventPayloadType, | 152 MOCK_METHOD2(SetSendTelephoneEventPayloadType, |
154 int(int channel, unsigned char type)); | 153 int(int channel, unsigned char type)); |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 int(int channel, unsigned& level)); | 329 int(int channel, unsigned& level)); |
331 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling)); | 330 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling)); |
332 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling)); | 331 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling)); |
333 MOCK_METHOD3(SetOutputVolumePan, int(int channel, float left, float right)); | 332 MOCK_METHOD3(SetOutputVolumePan, int(int channel, float left, float right)); |
334 MOCK_METHOD3(GetOutputVolumePan, int(int channel, float& left, float& right)); | 333 MOCK_METHOD3(GetOutputVolumePan, int(int channel, float& left, float& right)); |
335 }; | 334 }; |
336 } // namespace test | 335 } // namespace test |
337 } // namespace webrtc | 336 } // namespace webrtc |
338 | 337 |
339 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ | 338 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ |
OLD | NEW |