From e5eee0b3b2d0e66853be30d898a3f0ff8064cab2 Mon Sep 17 00:00:00 2001 From: Paul Kronenwetter Date: Sat, 25 Jun 2022 16:56:03 -0400 Subject: [PATCH] Move comment to appropriate place. --- tnc/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tnc/audio.py b/tnc/audio.py index c226bda8..6fe7666d 100644 --- a/tnc/audio.py +++ b/tnc/audio.py @@ -34,7 +34,6 @@ def get_audio_devices(): proc.start() proc.join() - # The use of set forces the list to contain only unique entries. return list(proxy_input_devices), list(proxy_output_devices) @@ -50,6 +49,7 @@ def fetch_audio_devices(input_devices, output_devices): """ devices = sd.query_devices(device=None, kind=None) + # The use of set forces the list to contain only unique entries. input_devs = set() output_devs = set()