webrtc/modules/audio_device/linux
Youfa f8c70c9c34 fix: Handle out-of-range device index after GetDevicesInfo
When the specified device was not found in GetDevicesInfo,
SetPlayoutDevice/SetRecordingDevice will never return a (-1) error.

Bug: None
Change-Id: I9ac71cf72f7876c1c54ee593f184aa4007dba22f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/320500
Commit-Queue: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40768}
2023-09-19 12:13:39 +00:00
..
alsasymboltable_linux.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
alsasymboltable_linux.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
audio_device_alsa_linux.cc fix: Handle out-of-range device index after GetDevicesInfo 2023-09-19 12:13:39 +00:00
audio_device_alsa_linux.h Remove top-level const from parameters in function declarations. 2022-01-26 11:05:25 +00:00
audio_device_pulse_linux.cc Update rtc::Event::Wait call sites to use TimeDelta. 2022-08-19 10:07:28 +00:00
audio_device_pulse_linux.h Reland "Refactor the PlatformThread API." 2021-05-07 14:14:43 +00:00
audio_mixer_manager_alsa_linux.cc Move some RTC_LOG to RTC_DLOG. 2021-01-28 10:05:00 +00:00
audio_mixer_manager_alsa_linux.h Linux ADMs: fix recursive mutex locks. 2020-08-20 10:15:45 +00:00
audio_mixer_manager_pulse_linux.cc Move some RTC_LOG to RTC_DLOG. 2021-01-28 10:05:00 +00:00
audio_mixer_manager_pulse_linux.h Use SequenceChecker from public API 2021-02-10 15:04:55 +00:00
latebindingsymboltable_linux.cc Adopt absl::string_view in modules/audio_device/ 2022-07-25 10:35:17 +00:00
latebindingsymboltable_linux.h Adopt absl::string_view in modules/audio_device/ 2022-07-25 10:35:17 +00:00
pulseaudiosymboltable_linux.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
pulseaudiosymboltable_linux.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00