OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 |
11 #include "webrtc/modules/audio_device/dummy/audio_device_dummy.h" | 11 #include "webrtc/modules/audio_device/dummy/audio_device_dummy.h" |
12 | 12 |
13 namespace webrtc { | 13 namespace webrtc { |
14 | 14 |
15 int32_t AudioDeviceDummy::ActiveAudioLayer( | 15 int32_t AudioDeviceDummy::ActiveAudioLayer( |
16 AudioDeviceModule::AudioLayer& audioLayer) const { | 16 AudioDeviceModule::AudioLayer& audioLayer) const { |
17 return -1; | 17 return -1; |
18 } | 18 } |
19 | 19 |
20 int32_t AudioDeviceDummy::Init() { return 0; } | 20 AudioDeviceGeneric::InitStatus AudioDeviceDummy::Init() { |
| 21 return InitStatus::OK; |
| 22 } |
21 | 23 |
22 int32_t AudioDeviceDummy::Terminate() { return 0; } | 24 int32_t AudioDeviceDummy::Terminate() { return 0; } |
23 | 25 |
24 bool AudioDeviceDummy::Initialized() const { return true; } | 26 bool AudioDeviceDummy::Initialized() const { return true; } |
25 | 27 |
26 int16_t AudioDeviceDummy::PlayoutDevices() { return -1; } | 28 int16_t AudioDeviceDummy::PlayoutDevices() { return -1; } |
27 | 29 |
28 int16_t AudioDeviceDummy::RecordingDevices() { return -1; } | 30 int16_t AudioDeviceDummy::RecordingDevices() { return -1; } |
29 | 31 |
30 int32_t AudioDeviceDummy::PlayoutDeviceName(uint16_t index, | 32 int32_t AudioDeviceDummy::PlayoutDeviceName(uint16_t index, |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 void AudioDeviceDummy::ClearPlayoutWarning() {} | 208 void AudioDeviceDummy::ClearPlayoutWarning() {} |
207 | 209 |
208 void AudioDeviceDummy::ClearPlayoutError() {} | 210 void AudioDeviceDummy::ClearPlayoutError() {} |
209 | 211 |
210 void AudioDeviceDummy::ClearRecordingWarning() {} | 212 void AudioDeviceDummy::ClearRecordingWarning() {} |
211 | 213 |
212 void AudioDeviceDummy::ClearRecordingError() {} | 214 void AudioDeviceDummy::ClearRecordingError() {} |
213 | 215 |
214 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {} | 216 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {} |
215 } // namespace webrtc | 217 } // namespace webrtc |
OLD | NEW |