Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.cc837 uint32_t nDevices = GetDevicesInfo(0, true); in SetPlayoutDevice() local
839 " number of availiable audio output devices is %u", nDevices); in SetPlayoutDevice()
841 if (index > (nDevices-1)) in SetPlayoutDevice()
844 " device index is out of range [0,%u]", (nDevices-1)); in SetPlayoutDevice()
868 const uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local
870 if ((index > (nDevices-1)) || (name == NULL)) in PlayoutDeviceName()
891 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local
893 if ((index > (nDevices-1)) || (name == NULL)) in RecordingDeviceName()
922 uint32_t nDevices = GetDevicesInfo(0, false); in SetRecordingDevice() local
924 " number of availiable audio input devices is %u", nDevices); in SetRecordingDevice()
[all …]
Daudio_device_pulse_linux.cc903 const uint16_t nDevices = PlayoutDevices(); in SetPlayoutDevice() local
906 " number of availiable output devices is %u", nDevices); in SetPlayoutDevice()
908 if (index > (nDevices - 1)) in SetPlayoutDevice()
911 " device index is out of range [0,%u]", (nDevices - 1)); in SetPlayoutDevice()
935 const uint16_t nDevices = PlayoutDevices(); in PlayoutDeviceName() local
937 if ((index > (nDevices - 1)) || (name == NULL)) in PlayoutDeviceName()
977 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local
979 if ((index > (nDevices - 1)) || (name == NULL)) in RecordingDeviceName()
1040 const uint16_t nDevices(RecordingDevices()); in SetRecordingDevice() local
1043 " number of availiable input devices is %u", nDevices); in SetRecordingDevice()
[all …]
/external/webrtc/webrtc/modules/audio_device/test/
Dfunc_test_manager.cc1024 int16_t nDevices(-1); in TestDeviceSelection() local
1031 nDevices = audioDevice->PlayoutDevices(); in TestDeviceSelection()
1032 EXPECT_TRUE(nDevices >= 0); in TestDeviceSelection()
1078 for (int i = 0; i < nDevices; i++) in TestDeviceSelection()
1102 nDevices = audioDevice->RecordingDevices(); in TestDeviceSelection()
1103 EXPECT_TRUE(nDevices >= 0); in TestDeviceSelection()
1155 for (int i = 0; i < nDevices; i++) in TestDeviceSelection()
2516 int16_t nDevices = _audioDevice->RecordingDevices(); in SelectRecordingDevice() local
2526 for (int i = 0; i < nDevices; i++) in SelectRecordingDevice()
2546 else if (sel < (nDevices+10)) in SelectRecordingDevice()
[all …]
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.cc1230 UINT nDevices = waveOutGetNumDevs(); in SetPlayoutDevice() local
1231 …nfo, kTraceAudioDevice, _id, "number of availiable waveform-audio output devices is %u", nDevices); in SetPlayoutDevice()
1233 if (index < 0 || index > (nDevices-1)) in SetPlayoutDevice()
1235 …TC_TRACE(kTraceError, kTraceAudioDevice, _id, "device index is out of range [0,%u]", (nDevices-1)); in SetPlayoutDevice()
1281 uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local
1290 if ((index > (nDevices-1)) || (name == NULL)) in PlayoutDeviceName()
1386 uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local
1395 if ((index > (nDevices-1)) || (name == NULL)) in RecordingDeviceName()
1503 UINT nDevices = waveInGetNumDevs(); in SetRecordingDevice() local
1504 …Info, kTraceAudioDevice, _id, "number of availiable waveform-audio input devices is %u", nDevices); in SetRecordingDevice()
[all …]
Daudio_mixer_manager_win.cc136 UINT nDevices = mixerGetNumDevs(); in EnumerateAll() local
137 WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "#mixer devices: %u", nDevices); in EnumerateAll()
148 for (mixId = 0; mixId < nDevices; mixId++) in EnumerateAll()
177 UINT nDevices = mixerGetNumDevs(); in EnumerateSpeakers() local
178 if (nDevices > MAX_NUMBER_MIXER_DEVICES) in EnumerateSpeakers()
183 WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "#mixer devices: %u", nDevices); in EnumerateSpeakers()
195 for (mixId = 0; mixId < nDevices; mixId++) in EnumerateSpeakers()
263 UINT nDevices = mixerGetNumDevs(); in EnumerateMicrophones() local
264 if (nDevices > MAX_NUMBER_MIXER_DEVICES) in EnumerateMicrophones()
269 WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "#mixer devices: %u", nDevices); in EnumerateMicrophones()
[all …]
Daudio_device_core_win.cc768 int16_t nDevices = PlayoutDevices(); in InitSpeaker() local
769 if (_outputDeviceIndex > (nDevices - 1)) in InitSpeaker()
850 int16_t nDevices = RecordingDevices(); in InitMicrophone() local
851 if (_inputDeviceIndex > (nDevices - 1)) in InitMicrophone()
1714 UINT nDevices = PlayoutDevices(); in SetPlayoutDevice() local
1716 if (index < 0 || index > (nDevices-1)) in SetPlayoutDevice()
1718 …TC_TRACE(kTraceError, kTraceAudioDevice, _id, "device index is out of range [0,%u]", (nDevices-1)); in SetPlayoutDevice()
1825 const int16_t nDevices(PlayoutDevices()); // also updates the list of devices in PlayoutDeviceName() local
1835 if ((index > (nDevices-1)) || (name == NULL)) in PlayoutDeviceName()
1905 const int16_t nDevices(RecordingDevices()); // also updates the list of devices in RecordingDeviceName() local
[all …]
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc905 uint32_t nDevices = GetNumberDevices(kAudioDevicePropertyScopeOutput, in SetPlayoutDevice() local
909 nDevices); in SetPlayoutDevice()
911 if (index > (nDevices - 1)) { in SetPlayoutDevice()
913 " device index is out of range [0,%u]", (nDevices - 1)); in SetPlayoutDevice()
933 const uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local
935 if ((index > (nDevices - 1)) || (name == NULL)) { in PlayoutDeviceName()
951 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local
953 if ((index > (nDevices - 1)) || (name == NULL)) { in RecordingDeviceName()
978 uint32_t nDevices = GetNumberDevices(kAudioDevicePropertyScopeInput, in SetRecordingDevice() local
982 nDevices); in SetRecordingDevice()
[all …]