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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) |
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_ |
OLD | NEW |