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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 int32_t FileAudioDevice::SpeakerVolume(uint32_t& volume) const { return -1; } | 326 int32_t FileAudioDevice::SpeakerVolume(uint32_t& volume) const { return -1; } |
327 | 327 |
328 int32_t FileAudioDevice::MaxSpeakerVolume(uint32_t& maxVolume) const { | 328 int32_t FileAudioDevice::MaxSpeakerVolume(uint32_t& maxVolume) const { |
329 return -1; | 329 return -1; |
330 } | 330 } |
331 | 331 |
332 int32_t FileAudioDevice::MinSpeakerVolume(uint32_t& minVolume) const { | 332 int32_t FileAudioDevice::MinSpeakerVolume(uint32_t& minVolume) const { |
333 return -1; | 333 return -1; |
334 } | 334 } |
335 | 335 |
336 int32_t FileAudioDevice::SpeakerVolumeStepSize(uint16_t& stepSize) const { | |
337 return -1; | |
338 } | |
339 | |
340 int32_t FileAudioDevice::MicrophoneVolumeIsAvailable(bool& available) { | 336 int32_t FileAudioDevice::MicrophoneVolumeIsAvailable(bool& available) { |
341 return -1; | 337 return -1; |
342 } | 338 } |
343 | 339 |
344 int32_t FileAudioDevice::SetMicrophoneVolume(uint32_t volume) { return -1; } | 340 int32_t FileAudioDevice::SetMicrophoneVolume(uint32_t volume) { return -1; } |
345 | 341 |
346 int32_t FileAudioDevice::MicrophoneVolume(uint32_t& volume) const { | 342 int32_t FileAudioDevice::MicrophoneVolume(uint32_t& volume) const { |
347 return -1; | 343 return -1; |
348 } | 344 } |
349 | 345 |
350 int32_t FileAudioDevice::MaxMicrophoneVolume(uint32_t& maxVolume) const { | 346 int32_t FileAudioDevice::MaxMicrophoneVolume(uint32_t& maxVolume) const { |
351 return -1; | 347 return -1; |
352 } | 348 } |
353 | 349 |
354 int32_t FileAudioDevice::MinMicrophoneVolume(uint32_t& minVolume) const { | 350 int32_t FileAudioDevice::MinMicrophoneVolume(uint32_t& minVolume) const { |
355 return -1; | 351 return -1; |
356 } | 352 } |
357 | 353 |
358 int32_t FileAudioDevice::MicrophoneVolumeStepSize(uint16_t& stepSize) const { | |
359 return -1; | |
360 } | |
361 | |
362 int32_t FileAudioDevice::SpeakerMuteIsAvailable(bool& available) { return -1; } | 354 int32_t FileAudioDevice::SpeakerMuteIsAvailable(bool& available) { return -1; } |
363 | 355 |
364 int32_t FileAudioDevice::SetSpeakerMute(bool enable) { return -1; } | 356 int32_t FileAudioDevice::SetSpeakerMute(bool enable) { return -1; } |
365 | 357 |
366 int32_t FileAudioDevice::SpeakerMute(bool& enabled) const { return -1; } | 358 int32_t FileAudioDevice::SpeakerMute(bool& enabled) const { return -1; } |
367 | 359 |
368 int32_t FileAudioDevice::MicrophoneMuteIsAvailable(bool& available) { | 360 int32_t FileAudioDevice::MicrophoneMuteIsAvailable(bool& available) { |
369 return -1; | 361 return -1; |
370 } | 362 } |
371 | 363 |
372 int32_t FileAudioDevice::SetMicrophoneMute(bool enable) { return -1; } | 364 int32_t FileAudioDevice::SetMicrophoneMute(bool enable) { return -1; } |
373 | 365 |
374 int32_t FileAudioDevice::MicrophoneMute(bool& enabled) const { return -1; } | 366 int32_t FileAudioDevice::MicrophoneMute(bool& enabled) const { return -1; } |
375 | 367 |
376 int32_t FileAudioDevice::MicrophoneBoostIsAvailable(bool& available) { | |
377 return -1; | |
378 } | |
379 | |
380 int32_t FileAudioDevice::SetMicrophoneBoost(bool enable) { return -1; } | |
381 | |
382 int32_t FileAudioDevice::MicrophoneBoost(bool& enabled) const { return -1; } | |
383 | |
384 int32_t FileAudioDevice::StereoPlayoutIsAvailable(bool& available) { | 368 int32_t FileAudioDevice::StereoPlayoutIsAvailable(bool& available) { |
385 available = true; | 369 available = true; |
386 return 0; | 370 return 0; |
387 } | 371 } |
388 int32_t FileAudioDevice::SetStereoPlayout(bool enable) { | 372 int32_t FileAudioDevice::SetStereoPlayout(bool enable) { |
389 return 0; | 373 return 0; |
390 } | 374 } |
391 | 375 |
392 int32_t FileAudioDevice::StereoPlayout(bool& enabled) const { | 376 int32_t FileAudioDevice::StereoPlayout(bool& enabled) const { |
393 enabled = true; | 377 enabled = true; |
394 return 0; | 378 return 0; |
395 } | 379 } |
396 | 380 |
397 int32_t FileAudioDevice::StereoRecordingIsAvailable(bool& available) { | 381 int32_t FileAudioDevice::StereoRecordingIsAvailable(bool& available) { |
398 available = true; | 382 available = true; |
399 return 0; | 383 return 0; |
400 } | 384 } |
401 | 385 |
402 int32_t FileAudioDevice::SetStereoRecording(bool enable) { | 386 int32_t FileAudioDevice::SetStereoRecording(bool enable) { |
403 return 0; | 387 return 0; |
404 } | 388 } |
405 | 389 |
406 int32_t FileAudioDevice::StereoRecording(bool& enabled) const { | 390 int32_t FileAudioDevice::StereoRecording(bool& enabled) const { |
407 enabled = true; | 391 enabled = true; |
408 return 0; | 392 return 0; |
409 } | 393 } |
410 | 394 |
411 int32_t FileAudioDevice::SetPlayoutBuffer( | |
412 const AudioDeviceModule::BufferType type, | |
413 uint16_t sizeMS) { | |
414 return 0; | |
415 } | |
416 | |
417 int32_t FileAudioDevice::PlayoutBuffer(AudioDeviceModule::BufferType& type, | |
418 uint16_t& sizeMS) const { | |
419 type = _playBufType; | |
420 return 0; | |
421 } | |
422 | |
423 int32_t FileAudioDevice::PlayoutDelay(uint16_t& delayMS) const { | 395 int32_t FileAudioDevice::PlayoutDelay(uint16_t& delayMS) const { |
424 return 0; | 396 return 0; |
425 } | 397 } |
426 | 398 |
427 int32_t FileAudioDevice::RecordingDelay(uint16_t& delayMS) const { return -1; } | 399 int32_t FileAudioDevice::RecordingDelay(uint16_t& delayMS) const { return -1; } |
428 | 400 |
429 int32_t FileAudioDevice::CPULoad(uint16_t& load) const { return -1; } | |
430 | |
431 bool FileAudioDevice::PlayoutWarning() const { return false; } | 401 bool FileAudioDevice::PlayoutWarning() const { return false; } |
432 | 402 |
433 bool FileAudioDevice::PlayoutError() const { return false; } | 403 bool FileAudioDevice::PlayoutError() const { return false; } |
434 | 404 |
435 bool FileAudioDevice::RecordingWarning() const { return false; } | 405 bool FileAudioDevice::RecordingWarning() const { return false; } |
436 | 406 |
437 bool FileAudioDevice::RecordingError() const { return false; } | 407 bool FileAudioDevice::RecordingError() const { return false; } |
438 | 408 |
439 void FileAudioDevice::ClearPlayoutWarning() {} | 409 void FileAudioDevice::ClearPlayoutWarning() {} |
440 | 410 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 | 499 |
530 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; | 500 int64_t deltaTimeMillis = rtc::TimeMillis() - currentTime; |
531 if (deltaTimeMillis < 10) { | 501 if (deltaTimeMillis < 10) { |
532 SleepMs(10 - deltaTimeMillis); | 502 SleepMs(10 - deltaTimeMillis); |
533 } | 503 } |
534 | 504 |
535 return true; | 505 return true; |
536 } | 506 } |
537 | 507 |
538 } // namespace webrtc | 508 } // namespace webrtc |
OLD | NEW |