From bc72e5f3ba615a07fe5f3bdcfd035c1d28247b28 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sun, 4 Dec 2022 16:12:43 +0100 Subject: [PATCH] set audio device by name --- tnc/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tnc/main.py b/tnc/main.py index 3cea8841..99ecb3e2 100755 --- a/tnc/main.py +++ b/tnc/main.py @@ -90,14 +90,14 @@ if __name__ == "__main__": dest="audio_input_device", default=0, help="listening sound card", - type=int, + type=str, ) PARSER.add_argument( "--tx", dest="audio_output_device", default=0, help="transmitting sound card", - type=int, + type=str, ) PARSER.add_argument( "--port",