mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Ignore some flex radio devices
This commit is contained in:
parent
b6e37a70b9
commit
cd600110a5
1 changed files with 3 additions and 0 deletions
|
@ -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
|
# Use a try/except block because Windows doesn't have an audio device range
|
||||||
try:
|
try:
|
||||||
name = device["name"]
|
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_output_channels = device["max_output_channels"]
|
||||||
max_input_channels = device["max_input_channels"]
|
max_input_channels = device["max_input_channels"]
|
||||||
|
|
Loading…
Reference in a new issue