| 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 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 bool AudioDeviceDummy::PlayoutIsInitialized() const { return false; } | 62 bool AudioDeviceDummy::PlayoutIsInitialized() const { return false; } |
| 63 | 63 |
| 64 int32_t AudioDeviceDummy::RecordingIsAvailable(bool& available) { return -1; } | 64 int32_t AudioDeviceDummy::RecordingIsAvailable(bool& available) { return -1; } |
| 65 | 65 |
| 66 int32_t AudioDeviceDummy::InitRecording() { return -1; } | 66 int32_t AudioDeviceDummy::InitRecording() { return -1; } |
| 67 | 67 |
| 68 bool AudioDeviceDummy::RecordingIsInitialized() const { return false; } | 68 bool AudioDeviceDummy::RecordingIsInitialized() const { return false; } |
| 69 | 69 |
| 70 int32_t AudioDeviceDummy::StartPlayout() { return -1; } | 70 int32_t AudioDeviceDummy::StartPlayout() { return -1; } |
| 71 | 71 |
| 72 int32_t AudioDeviceDummy::StopPlayout() { return -1; } | 72 int32_t AudioDeviceDummy::StopPlayout() { return 0; } |
| 73 | 73 |
| 74 bool AudioDeviceDummy::Playing() const { return false; } | 74 bool AudioDeviceDummy::Playing() const { return false; } |
| 75 | 75 |
| 76 int32_t AudioDeviceDummy::StartRecording() { return -1; } | 76 int32_t AudioDeviceDummy::StartRecording() { return -1; } |
| 77 | 77 |
| 78 int32_t AudioDeviceDummy::StopRecording() { return -1; } | 78 int32_t AudioDeviceDummy::StopRecording() { return 0; } |
| 79 | 79 |
| 80 bool AudioDeviceDummy::Recording() const { return false; } | 80 bool AudioDeviceDummy::Recording() const { return false; } |
| 81 | 81 |
| 82 int32_t AudioDeviceDummy::SetAGC(bool enable) { return -1; } | 82 int32_t AudioDeviceDummy::SetAGC(bool enable) { return -1; } |
| 83 | 83 |
| 84 bool AudioDeviceDummy::AGC() const { return false; } | 84 bool AudioDeviceDummy::AGC() const { return false; } |
| 85 | 85 |
| 86 int32_t AudioDeviceDummy::SetWaveOutVolume(uint16_t volumeLeft, | 86 int32_t AudioDeviceDummy::SetWaveOutVolume(uint16_t volumeLeft, |
| 87 uint16_t volumeRight) { | 87 uint16_t volumeRight) { |
| 88 return -1; | 88 return -1; |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 void AudioDeviceDummy::ClearPlayoutWarning() {} | 208 void AudioDeviceDummy::ClearPlayoutWarning() {} |
| 209 | 209 |
| 210 void AudioDeviceDummy::ClearPlayoutError() {} | 210 void AudioDeviceDummy::ClearPlayoutError() {} |
| 211 | 211 |
| 212 void AudioDeviceDummy::ClearRecordingWarning() {} | 212 void AudioDeviceDummy::ClearRecordingWarning() {} |
| 213 | 213 |
| 214 void AudioDeviceDummy::ClearRecordingError() {} | 214 void AudioDeviceDummy::ClearRecordingError() {} |
| 215 | 215 |
| 216 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {} | 216 void AudioDeviceDummy::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) {} |
| 217 } // namespace webrtc | 217 } // namespace webrtc |
| OLD | NEW |