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

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

Issue 2110113003: Reland of "Move RtcEventLog object from inside VoiceEngine to Call.", "Fix to make the start/stop f… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 5 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/channel.h » ('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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 int(int channel, int type, PayloadFrequencies frequency)); 150 int(int channel, int type, PayloadFrequencies frequency));
151 MOCK_METHOD2(SetFECStatus, int(int channel, bool enable)); 151 MOCK_METHOD2(SetFECStatus, int(int channel, bool enable));
152 MOCK_METHOD2(GetFECStatus, int(int channel, bool& enabled)); 152 MOCK_METHOD2(GetFECStatus, int(int channel, bool& enabled));
153 MOCK_METHOD4(SetVADStatus, 153 MOCK_METHOD4(SetVADStatus,
154 int(int channel, bool enable, VadModes mode, bool disableDTX)); 154 int(int channel, bool enable, VadModes mode, bool disableDTX));
155 MOCK_METHOD4( 155 MOCK_METHOD4(
156 GetVADStatus, 156 GetVADStatus,
157 int(int channel, bool& enabled, VadModes& mode, bool& disabledDTX)); 157 int(int channel, bool& enabled, VadModes& mode, bool& disabledDTX));
158 MOCK_METHOD2(SetOpusMaxPlaybackRate, int(int channel, int frequency_hz)); 158 MOCK_METHOD2(SetOpusMaxPlaybackRate, int(int channel, int frequency_hz));
159 MOCK_METHOD2(SetOpusDtx, int(int channel, bool enable_dtx)); 159 MOCK_METHOD2(SetOpusDtx, int(int channel, bool enable_dtx));
160 MOCK_METHOD0(GetEventLog, RtcEventLog*());
161 160
162 // VoEExternalMedia 161 // VoEExternalMedia
163 MOCK_METHOD3(RegisterExternalMediaProcessing, 162 MOCK_METHOD3(RegisterExternalMediaProcessing,
164 int(int channel, 163 int(int channel,
165 ProcessingTypes type, 164 ProcessingTypes type,
166 VoEMediaProcess& processObject)); 165 VoEMediaProcess& processObject));
167 MOCK_METHOD2(DeRegisterExternalMediaProcessing, 166 MOCK_METHOD2(DeRegisterExternalMediaProcessing,
168 int(int channel, ProcessingTypes type)); 167 int(int channel, ProcessingTypes type));
169 MOCK_METHOD3(GetAudioFrame, 168 MOCK_METHOD3(GetAudioFrame,
170 int(int channel, int desired_sample_rate_hz, AudioFrame* frame)); 169 int(int channel, int desired_sample_rate_hz, AudioFrame* frame));
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // functor implementing the default version of ChannelProxyFactory, above. 338 // functor implementing the default version of ChannelProxyFactory, above.
340 // GMock creates an unfortunate copy of the functor, which would cause us to 339 // GMock creates an unfortunate copy of the functor, which would cause us to
341 // return a dangling reference. Fortunately, this should go away once 340 // return a dangling reference. Fortunately, this should go away once
342 // voe::Channel does. 341 // voe::Channel does.
343 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 342 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
344 }; 343 };
345 } // namespace test 344 } // namespace test
346 } // namespace webrtc 345 } // namespace webrtc
347 346
348 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_ 347 #endif // WEBRTC_AUDIO_MOCK_VOICE_ENGINE_H_
OLDNEW
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698