/external/chromium_org/third_party/webrtc/modules/audio_device/linux/ |
D | audio_device_alsa_linux.cc | 864 uint32_t nDevices = GetDevicesInfo(0, true); in SetPlayoutDevice() local 866 " number of availiable audio output devices is %u", nDevices); in SetPlayoutDevice() 868 if (index > (nDevices-1)) in SetPlayoutDevice() 871 " device index is out of range [0,%u]", (nDevices-1)); in SetPlayoutDevice() 895 const uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local 897 if ((index > (nDevices-1)) || (name == NULL)) in PlayoutDeviceName() 918 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local 920 if ((index > (nDevices-1)) || (name == NULL)) in RecordingDeviceName() 949 uint32_t nDevices = GetDevicesInfo(0, false); in SetRecordingDevice() local 951 " number of availiable audio input devices is %u", nDevices); in SetRecordingDevice() [all …]
|
D | audio_device_pulse_linux.cc | 972 const uint16_t nDevices = PlayoutDevices(); in SetPlayoutDevice() local 975 " number of availiable output devices is %u", nDevices); in SetPlayoutDevice() 977 if (index > (nDevices - 1)) in SetPlayoutDevice() 980 " device index is out of range [0,%u]", (nDevices - 1)); in SetPlayoutDevice() 1004 const uint16_t nDevices = PlayoutDevices(); in PlayoutDeviceName() local 1006 if ((index > (nDevices - 1)) || (name == NULL)) in PlayoutDeviceName() 1046 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local 1048 if ((index > (nDevices - 1)) || (name == NULL)) in RecordingDeviceName() 1110 const uint16_t nDevices(RecordingDevices()); in SetRecordingDevice() local 1113 " number of availiable input devices is %u", nDevices); in SetRecordingDevice() [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_device/test/ |
D | func_test_manager.cc | 999 int16_t nDevices(-1); in TestDeviceSelection() local 1006 nDevices = audioDevice->PlayoutDevices(); in TestDeviceSelection() 1007 EXPECT_TRUE(nDevices >= 0); in TestDeviceSelection() 1053 for (int i = 0; i < nDevices; i++) in TestDeviceSelection() 1077 nDevices = audioDevice->RecordingDevices(); in TestDeviceSelection() 1078 EXPECT_TRUE(nDevices >= 0); in TestDeviceSelection() 1130 for (int i = 0; i < nDevices; i++) in TestDeviceSelection() 2491 int16_t nDevices = _audioDevice->RecordingDevices(); in SelectRecordingDevice() local 2501 for (int i = 0; i < nDevices; i++) in SelectRecordingDevice() 2521 else if (sel < (nDevices+10)) in SelectRecordingDevice() [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_device/win/ |
D | audio_device_wave_win.cc | 1278 UINT nDevices = waveOutGetNumDevs(); in SetPlayoutDevice() local 1279 …nfo, kTraceAudioDevice, _id, "number of availiable waveform-audio output devices is %u", nDevices); in SetPlayoutDevice() 1281 if (index < 0 || index > (nDevices-1)) in SetPlayoutDevice() 1283 …TC_TRACE(kTraceError, kTraceAudioDevice, _id, "device index is out of range [0,%u]", (nDevices-1)); in SetPlayoutDevice() 1329 uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local 1338 if ((index > (nDevices-1)) || (name == NULL)) in PlayoutDeviceName() 1434 uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local 1443 if ((index > (nDevices-1)) || (name == NULL)) in RecordingDeviceName() 1551 UINT nDevices = waveInGetNumDevs(); in SetRecordingDevice() local 1552 …Info, kTraceAudioDevice, _id, "number of availiable waveform-audio input devices is %u", nDevices); in SetRecordingDevice() [all …]
|
D | audio_mixer_manager_win.cc | 136 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() 261 UINT nDevices = mixerGetNumDevs(); in EnumerateMicrophones() local 262 if (nDevices > MAX_NUMBER_MIXER_DEVICES) in EnumerateMicrophones() 267 WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "#mixer devices: %u", nDevices); in EnumerateMicrophones() [all …]
|
D | audio_device_core_win.cc | 774 int16_t nDevices = PlayoutDevices(); in InitSpeaker() local 775 if (_outputDeviceIndex > (nDevices - 1)) in InitSpeaker() 856 int16_t nDevices = RecordingDevices(); in InitMicrophone() local 857 if (_inputDeviceIndex > (nDevices - 1)) in InitMicrophone() 1720 UINT nDevices = PlayoutDevices(); in SetPlayoutDevice() local 1722 if (index < 0 || index > (nDevices-1)) in SetPlayoutDevice() 1724 …TC_TRACE(kTraceError, kTraceAudioDevice, _id, "device index is out of range [0,%u]", (nDevices-1)); in SetPlayoutDevice() 1831 const int16_t nDevices(PlayoutDevices()); // also updates the list of devices in PlayoutDeviceName() local 1841 if ((index > (nDevices-1)) || (name == NULL)) in PlayoutDeviceName() 1911 const int16_t nDevices(RecordingDevices()); // also updates the list of devices in RecordingDeviceName() local [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/ |
D | audio_device_mac.cc | 1114 uint32_t nDevices = GetNumberDevices(kAudioDevicePropertyScopeOutput, in SetPlayoutDevice() local 1118 nDevices); in SetPlayoutDevice() 1120 if (index > (nDevices - 1)) in SetPlayoutDevice() 1123 " device index is out of range [0,%u]", (nDevices - 1)); in SetPlayoutDevice() 1147 const uint16_t nDevices(PlayoutDevices()); in PlayoutDeviceName() local 1149 if ((index > (nDevices - 1)) || (name == NULL)) in PlayoutDeviceName() 1170 const uint16_t nDevices(RecordingDevices()); in RecordingDeviceName() local 1172 if ((index > (nDevices - 1)) || (name == NULL)) in RecordingDeviceName() 1204 uint32_t nDevices = GetNumberDevices(kAudioDevicePropertyScopeInput, in SetRecordingDevice() local 1208 nDevices); in SetRecordingDevice() [all …]
|