OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 } | 302 } |
303 | 303 |
304 bool FileAudioDevice::Recording() const { | 304 bool FileAudioDevice::Recording() const { |
305 return _recording; | 305 return _recording; |
306 } | 306 } |
307 | 307 |
308 int32_t FileAudioDevice::SetAGC(bool enable) { return -1; } | 308 int32_t FileAudioDevice::SetAGC(bool enable) { return -1; } |
309 | 309 |
310 bool FileAudioDevice::AGC() const { return false; } | 310 bool FileAudioDevice::AGC() const { return false; } |
311 | 311 |
312 int32_t FileAudioDevice::SetWaveOutVolume(uint16_t volumeLeft, | |
313 uint16_t volumeRight) { | |
314 return -1; | |
315 } | |
316 | |
317 int32_t FileAudioDevice::WaveOutVolume(uint16_t& volumeLeft, | |
318 uint16_t& volumeRight) const { | |
319 return -1; | |
320 } | |
321 | |
322 int32_t FileAudioDevice::InitSpeaker() { return -1; } | 312 int32_t FileAudioDevice::InitSpeaker() { return -1; } |
323 | 313 |
324 bool FileAudioDevice::SpeakerIsInitialized() const { return false; } | 314 bool FileAudioDevice::SpeakerIsInitialized() const { return false; } |
325 | 315 |
326 int32_t FileAudioDevice::InitMicrophone() { return 0; } | 316 int32_t FileAudioDevice::InitMicrophone() { return 0; } |
327 | 317 |
328 bool FileAudioDevice::MicrophoneIsInitialized() const { return true; } | 318 bool FileAudioDevice::MicrophoneIsInitialized() const { return true; } |
329 | 319 |
330 int32_t FileAudioDevice::SpeakerVolumeIsAvailable(bool& available) { | 320 int32_t FileAudioDevice::SpeakerVolumeIsAvailable(bool& available) { |
331 return -1; | 321 return -1; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 | 529 |
540 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; | 530 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; |
541 if (deltaTimeMillis < 10) { | 531 if (deltaTimeMillis < 10) { |
542 SleepMs(10 - deltaTimeMillis); | 532 SleepMs(10 - deltaTimeMillis); |
543 } | 533 } |
544 | 534 |
545 return true; | 535 return true; |
546 } | 536 } |
547 | 537 |
548 } // namespace webrtc | 538 } // namespace webrtc |
OLD | NEW |