mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
attempt with disabled portaudio termination
This commit is contained in:
parent
d74dda0bc5
commit
03738bcb8f
|
@ -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:
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue