new audio system?

This commit is contained in:
Anthony Samms
2025-09-15 10:58:44 -04:00
parent e34fce6012
commit 74c3414ccd
10 changed files with 2093 additions and 975 deletions

View File

@@ -26,6 +26,7 @@ class SettingsScreen:
def on_screen_start(self):
if not self.screen_init:
audio.list_host_apis()
self.screen_init = True
def on_screen_end(self):
@@ -33,7 +34,7 @@ class SettingsScreen:
save_config(self.config)
global_data.config = self.config
audio.close_audio_device()
audio.type = global_data.config["audio"]["device_type"]
audio.device_type = global_data.config["audio"]["device_type"]
audio.init_audio_device()
return "ENTRY"