attempt with disabled portaudio termination

This commit is contained in:
DJ2LS 2023-11-14 19:35:11 +01:00
parent d74dda0bc5
commit 03738bcb8f
2 changed files with 5 additions and 2 deletions

View file

@ -28,8 +28,8 @@ def get_audio_devices():
# we need to reset and initialize sounddevice before running the multiprocessing part.
# If we are not doing this at this early point, not all devices will be displayed
sd._terminate()
sd._initialize()
#sd._terminate()
#sd._initialize()
# log.debug("[AUD] get_audio_devices")
with multiprocessing.Manager() as manager:

View file

@ -99,6 +99,9 @@ class CONFIG:
# converts values of settings from String to Value.
# For example 'False' (type String) will be converted to False (type Bool)
# This is also needed, because configparser reads configs as string
# configparser has a type conversion, but we would have to do this for every
# item. This approach is more flexible
def convert_types(self, config):
for setting in config:
value = config[setting]