Ignore some flex radio devices

This commit is contained in:
Mashintime 2023-06-10 12:54:03 -04:00
parent b6e37a70b9
commit cd600110a5

View file

@ -76,6 +76,9 @@ def fetch_audio_devices(input_devices, output_devices):
# Use a try/except block because Windows doesn't have an audio device range
try:
name = device["name"]
# Ignore some Flex Radio devices to make device selection simpler
if name.startswith("DAX RESERVED") or name.startswith("DAX IQ"):
continue;
max_output_channels = device["max_output_channels"]
max_input_channels = device["max_input_channels"]