Home
last modified time | relevance | path

Searched refs:nDevices (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.cc602 uint32_t nDevices = GetDevicesInfo(0, true); in SetPlayoutDevice() local
604 << nDevices; in SetPlayoutDevice()
606 if (index > (nDevices - 1)) { in SetPlayoutDevice()
607 RTC_LOG(LS_ERROR) << "device index is out of range [0," << (nDevices - 1) in SetPlayoutDevice()
628 const uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local
630 if ((index > (nDevices - 1)) || (name == NULL)) { in PlayoutDeviceName()
647 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local
649 if ((index > (nDevices - 1)) || (name == NULL)) { in RecordingDeviceName()
671 uint32_t nDevices = GetDevicesInfo(0, false); in SetRecordingDevice() local
673 << nDevices; in SetRecordingDevice()
[all …]
Daudio_device_pulse_linux.cc670 const uint16_t nDevices = PlayoutDevices(); in SetPlayoutDevice() local
672 RTC_LOG(LS_VERBOSE) << "number of availiable output devices is " << nDevices; in SetPlayoutDevice()
674 if (index > (nDevices - 1)) { in SetPlayoutDevice()
675 RTC_LOG(LS_ERROR) << "device index is out of range [0," << (nDevices - 1) in SetPlayoutDevice()
697 const uint16_t nDevices = PlayoutDevices(); in PlayoutDeviceName() local
699 if ((index > (nDevices - 1)) || (name == NULL)) { in PlayoutDeviceName()
735 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local
737 if ((index > (nDevices - 1)) || (name == NULL)) { in RecordingDeviceName()
791 const uint16_t nDevices(RecordingDevices()); in SetRecordingDevice() local
793 RTC_LOG(LS_VERBOSE) << "number of availiable input devices is " << nDevices; in SetRecordingDevice()
[all …]
/external/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc809 uint32_t nDevices = GetNumberDevices(kAudioDevicePropertyScopeOutput, in SetPlayoutDevice() local
812 << nDevices; in SetPlayoutDevice()
814 if (index > (nDevices - 1)) { in SetPlayoutDevice()
815 RTC_LOG(LS_ERROR) << "device index is out of range [0," << (nDevices - 1) in SetPlayoutDevice()
835 const uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local
837 if ((index > (nDevices - 1)) || (name == NULL)) { in PlayoutDeviceName()
853 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local
855 if ((index > (nDevices - 1)) || (name == NULL)) { in RecordingDeviceName()
880 uint32_t nDevices = GetNumberDevices(kAudioDevicePropertyScopeInput, in SetRecordingDevice() local
883 << nDevices; in SetRecordingDevice()
[all …]
/external/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc654 int16_t nDevices = PlayoutDevices(); in InitSpeaker() local
655 if (_outputDeviceIndex > (nDevices - 1)) { in InitSpeaker()
723 int16_t nDevices = RecordingDevices(); in InitMicrophone() local
724 if (_inputDeviceIndex > (nDevices - 1)) { in InitMicrophone()
1393 UINT nDevices = PlayoutDevices(); in SetPlayoutDevice() local
1395 if (index < 0 || index > (nDevices - 1)) { in SetPlayoutDevice()
1396 RTC_LOG(LS_ERROR) << "device index is out of range [0," << (nDevices - 1) in SetPlayoutDevice()
1489 const int16_t nDevices(PlayoutDevices()); // also updates the list of devices in PlayoutDeviceName() local
1499 if ((index > (nDevices - 1)) || (name == NULL)) { in PlayoutDeviceName()
1564 const int16_t nDevices( in RecordingDeviceName() local
[all …]