removed list audio devices

This commit is contained in:
DJ2LS 2021-03-04 15:14:10 +01:00 committed by GitHub
parent 3ffac2e90e
commit 0cbc70320b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 19 deletions

View file

@ -113,19 +113,3 @@ def setup_logging():
#'ERROR' : 31, # red
#'CRITICAL': 41, # white on red bg
def list_audio_devices():
p = pyaudio.PyAudio()
devices = []
for x in range(0, p.get_device_count()):
devices.append(f"{x} - {p.get_device_info_by_index(x)['name']}")
for line in devices:
print(line)

View file

@ -23,9 +23,6 @@ if __name__ == '__main__':
# config logging
helpers.setup_logging()
# list audio devices
helpers.list_audio_devices()
#--------------------------------------------GET PARAMETER INPUTS