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

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

Issue 1748403002: Move RtcEventLog object from inside VoiceEngine to Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Processed review comments and rebased. 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
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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // VoEExternalMedia 145 // VoEExternalMedia
147 MOCK_METHOD3(RegisterExternalMediaProcessing, 146 MOCK_METHOD3(RegisterExternalMediaProcessing,
148 int(int channel, 147 int(int channel,
149 ProcessingTypes type, 148 ProcessingTypes type,
150 VoEMediaProcess& processObject)); 149 VoEMediaProcess& processObject));
151 MOCK_METHOD2(DeRegisterExternalMediaProcessing, 150 MOCK_METHOD2(DeRegisterExternalMediaProcessing,
152 int(int channel, ProcessingTypes type)); 151 int(int channel, ProcessingTypes type));
153 MOCK_METHOD3(GetAudioFrame, 152 MOCK_METHOD3(GetAudioFrame,
154 int(int channel, int desired_sample_rate_hz, AudioFrame* frame)); 153 int(int channel, int desired_sample_rate_hz, AudioFrame* frame));
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 int(int channel, unsigned& level)); 313 int(int channel, unsigned& level));
315 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling)); 314 MOCK_METHOD2(SetChannelOutputVolumeScaling, int(int channel, float scaling));
316 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling)); 315 MOCK_METHOD2(GetChannelOutputVolumeScaling, int(int channel, float& scaling));
317 MOCK_METHOD3(SetOutputVolumePan, int(int channel, float left, float right)); 316 MOCK_METHOD3(SetOutputVolumePan, int(int channel, float left, float right));
318 MOCK_METHOD3(GetOutputVolumePan, int(int channel, float& left, float& right)); 317 MOCK_METHOD3(GetOutputVolumePan, int(int channel, float& left, float& right));
319 }; 318 };
320 } // namespace test 319 } // namespace test
321 } // namespace webrtc 320 } // namespace webrtc
322 321
323 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ 322 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698