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

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

Issue 1723153002: Remove the VoEDtmf interface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 9 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/engine_configurations.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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
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*()); 144 MOCK_METHOD0(GetEventLog, RtcEventLog*());
145 145
146 // VoEDtmf
147 MOCK_METHOD5(SendTelephoneEvent,
148 int(int channel,
149 int eventCode,
150 bool outOfBand,
151 int lengthMs,
152 int attenuationDb));
153 MOCK_METHOD2(SetSendTelephoneEventPayloadType,
154 int(int channel, unsigned char type));
155 MOCK_METHOD2(GetSendTelephoneEventPayloadType,
156 int(int channel, unsigned char& type));
157 MOCK_METHOD2(SetDtmfFeedbackStatus, int(bool enable, bool directFeedback));
158 MOCK_METHOD2(GetDtmfFeedbackStatus, int(bool& enabled, bool& directFeedback));
159 MOCK_METHOD3(PlayDtmfTone,
160 int(int eventCode, int lengthMs, int attenuationDb));
161
162 // VoEExternalMedia 146 // VoEExternalMedia
163 MOCK_METHOD3(RegisterExternalMediaProcessing, 147 MOCK_METHOD3(RegisterExternalMediaProcessing,
164 int(int channel, 148 int(int channel,
165 ProcessingTypes type, 149 ProcessingTypes type,
166 VoEMediaProcess& processObject)); 150 VoEMediaProcess& processObject));
167 MOCK_METHOD2(DeRegisterExternalMediaProcessing, 151 MOCK_METHOD2(DeRegisterExternalMediaProcessing,
168 int(int channel, ProcessingTypes type)); 152 int(int channel, ProcessingTypes type));
169 MOCK_METHOD3(GetAudioFrame, 153 MOCK_METHOD3(GetAudioFrame,
170 int(int channel, int desired_sample_rate_hz, AudioFrame* frame)); 154 int(int channel, int desired_sample_rate_hz, AudioFrame* frame));
171 MOCK_METHOD2(SetExternalMixing, int(int channel, bool enable)); 155 MOCK_METHOD2(SetExternalMixing, int(int channel, bool enable));
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 int(int channel, unsigned& level)); 314 int(int channel, unsigned& level));
331 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling)); 315 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling));
332 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling)); 316 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling));
333 MOCK_METHOD3(SetOutputVolumePan, int(int channel, float left, float right)); 317 MOCK_METHOD3(SetOutputVolumePan, int(int channel, float left, float right));
334 MOCK_METHOD3(GetOutputVolumePan, int(int channel, float& left, float& right)); 318 MOCK_METHOD3(GetOutputVolumePan, int(int channel, float& left, float& right));
335 }; 319 };
336 } // namespace test 320 } // namespace test
337 } // namespace webrtc 321 } // namespace webrtc
338 322
339 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ 323 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_
OLDNEW
« no previous file with comments | « webrtc/engine_configurations.h ('k') | webrtc/voice_engine/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698