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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 MOCK_METHOD0(InitRecording, int32_t()); | 56 MOCK_METHOD0(InitRecording, int32_t()); |
57 MOCK_CONST_METHOD0(RecordingIsInitialized, bool()); | 57 MOCK_CONST_METHOD0(RecordingIsInitialized, bool()); |
58 MOCK_METHOD0(StartPlayout, int32_t()); | 58 MOCK_METHOD0(StartPlayout, int32_t()); |
59 MOCK_METHOD0(StopPlayout, int32_t()); | 59 MOCK_METHOD0(StopPlayout, int32_t()); |
60 MOCK_CONST_METHOD0(Playing, bool()); | 60 MOCK_CONST_METHOD0(Playing, bool()); |
61 MOCK_METHOD0(StartRecording, int32_t()); | 61 MOCK_METHOD0(StartRecording, int32_t()); |
62 MOCK_METHOD0(StopRecording, int32_t()); | 62 MOCK_METHOD0(StopRecording, int32_t()); |
63 MOCK_CONST_METHOD0(Recording, bool()); | 63 MOCK_CONST_METHOD0(Recording, bool()); |
64 MOCK_METHOD1(SetAGC, int32_t(bool enable)); | 64 MOCK_METHOD1(SetAGC, int32_t(bool enable)); |
65 MOCK_CONST_METHOD0(AGC, bool()); | 65 MOCK_CONST_METHOD0(AGC, bool()); |
66 MOCK_METHOD2(SetWaveOutVolume, int32_t(uint16_t volumeLeft, | |
67 uint16_t volumeRight)); | |
68 MOCK_CONST_METHOD2(WaveOutVolume, int32_t(uint16_t* volumeLeft, | |
69 uint16_t* volumeRight)); | |
70 MOCK_METHOD0(InitSpeaker, int32_t()); | 66 MOCK_METHOD0(InitSpeaker, int32_t()); |
71 MOCK_CONST_METHOD0(SpeakerIsInitialized, bool()); | 67 MOCK_CONST_METHOD0(SpeakerIsInitialized, bool()); |
72 MOCK_METHOD0(InitMicrophone, int32_t()); | 68 MOCK_METHOD0(InitMicrophone, int32_t()); |
73 MOCK_CONST_METHOD0(MicrophoneIsInitialized, bool()); | 69 MOCK_CONST_METHOD0(MicrophoneIsInitialized, bool()); |
74 MOCK_METHOD1(SpeakerVolumeIsAvailable, int32_t(bool* available)); | 70 MOCK_METHOD1(SpeakerVolumeIsAvailable, int32_t(bool* available)); |
75 MOCK_METHOD1(SetSpeakerVolume, int32_t(uint32_t volume)); | 71 MOCK_METHOD1(SetSpeakerVolume, int32_t(uint32_t volume)); |
76 MOCK_CONST_METHOD1(SpeakerVolume, int32_t(uint32_t* volume)); | 72 MOCK_CONST_METHOD1(SpeakerVolume, int32_t(uint32_t* volume)); |
77 MOCK_CONST_METHOD1(MaxSpeakerVolume, int32_t(uint32_t* maxVolume)); | 73 MOCK_CONST_METHOD1(MaxSpeakerVolume, int32_t(uint32_t* maxVolume)); |
78 MOCK_CONST_METHOD1(MinSpeakerVolume, int32_t(uint32_t* minVolume)); | 74 MOCK_CONST_METHOD1(MinSpeakerVolume, int32_t(uint32_t* minVolume)); |
79 MOCK_CONST_METHOD1(SpeakerVolumeStepSize, int32_t(uint16_t* stepSize)); | 75 MOCK_CONST_METHOD1(SpeakerVolumeStepSize, int32_t(uint16_t* stepSize)); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 MOCK_METHOD1(EnableBuiltInNS, int32_t(bool enable)); | 124 MOCK_METHOD1(EnableBuiltInNS, int32_t(bool enable)); |
129 #if defined(WEBRTC_IOS) | 125 #if defined(WEBRTC_IOS) |
130 MOCK_CONST_METHOD1(GetPlayoutAudioParameters, int(AudioParameters* params)); | 126 MOCK_CONST_METHOD1(GetPlayoutAudioParameters, int(AudioParameters* params)); |
131 MOCK_CONST_METHOD1(GetRecordAudioParameters, int(AudioParameters* params)); | 127 MOCK_CONST_METHOD1(GetRecordAudioParameters, int(AudioParameters* params)); |
132 #endif // WEBRTC_IOS | 128 #endif // WEBRTC_IOS |
133 }; | 129 }; |
134 } // namespace test | 130 } // namespace test |
135 } // namespace webrtc | 131 } // namespace webrtc |
136 | 132 |
137 #endif // WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_MOCK_AUDIO_DEVICE_H_ | 133 #endif // WEBRTC_MODULES_AUDIO_DEVICE_INCLUDE_MOCK_AUDIO_DEVICE_H_ |
OLD | NEW |