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

Side by Side Diff: webrtc/modules/audio_device/include/mock_audio_device.h

Issue 2219653004: Remove old methods in AudioTransport, make it pass a gn build (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 MOCK_CONST_METHOD1(PlayoutSampleRate, int32_t(uint32_t* samplesPerSec)); 118 MOCK_CONST_METHOD1(PlayoutSampleRate, int32_t(uint32_t* samplesPerSec));
119 MOCK_METHOD0(ResetAudioDevice, int32_t()); 119 MOCK_METHOD0(ResetAudioDevice, int32_t());
120 MOCK_METHOD1(SetLoudspeakerStatus, int32_t(bool enable)); 120 MOCK_METHOD1(SetLoudspeakerStatus, int32_t(bool enable));
121 MOCK_CONST_METHOD1(GetLoudspeakerStatus, int32_t(bool* enabled)); 121 MOCK_CONST_METHOD1(GetLoudspeakerStatus, int32_t(bool* enabled));
122 MOCK_CONST_METHOD0(BuiltInAECIsAvailable, bool()); 122 MOCK_CONST_METHOD0(BuiltInAECIsAvailable, bool());
123 MOCK_CONST_METHOD0(BuiltInAGCIsAvailable, bool()); 123 MOCK_CONST_METHOD0(BuiltInAGCIsAvailable, bool());
124 MOCK_CONST_METHOD0(BuiltInNSIsAvailable, bool()); 124 MOCK_CONST_METHOD0(BuiltInNSIsAvailable, bool());
125 MOCK_METHOD1(EnableBuiltInAEC, int32_t(bool enable)); 125 MOCK_METHOD1(EnableBuiltInAEC, int32_t(bool enable));
126 MOCK_METHOD1(EnableBuiltInAGC, int32_t(bool enable)); 126 MOCK_METHOD1(EnableBuiltInAGC, int32_t(bool enable));
127 MOCK_METHOD1(EnableBuiltInNS, int32_t(bool enable)); 127 MOCK_METHOD1(EnableBuiltInNS, int32_t(bool enable));
128 MOCK_CONST_METHOD0(BuiltInAECIsEnabled, bool()); 128 #if defined(WEBRTC_IOS)
the sun 2016/08/05 18:14:31 Are these changes necessary to make it pass a GN b
Max Morin WebRTC 2016/08/08 15:28:57 They were accidentally added to the wrong CL :)
129 MOCK_CONST_METHOD1(GetPlayoutAudioParameters, int(AudioParameters* params)); 129 MOCK_CONST_METHOD1(GetPlayoutAudioParameters, int(AudioParameters* params));
130 MOCK_CONST_METHOD1(GetRecordAudioParameters, int(AudioParameters* params)); 130 MOCK_CONST_METHOD1(GetRecordAudioParameters, int(AudioParameters* params));
131 #endif // WEBRTC_IOS
131 }; 132 };
132 } // namespace test 133 } // namespace test
133 } // namespace webrtc 134 } // namespace webrtc
134 135
135 #endif // WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_MOCK_AUDIO_DEVICE_H_ 136 #endif // WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_MOCK_AUDIO_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698