From 818cefc558d63e09998e2b92af1f3f4ad0a0f97f Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Thu, 18 Sep 2025 19:59:16 -0400 Subject: [PATCH] Drop back to 32 channels which seemed to be more stable. --- display.py | 2 +- sound.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/display.py b/display.py index e1b9651..4862913 100644 --- a/display.py +++ b/display.py @@ -48,7 +48,7 @@ def initialize_gui(gameTitle): if not pygame.mixer.get_init(): pygame.mixer.pre_init(44100, -16, 2, 4096) pygame.mixer.init() - pygame.mixer.set_num_channels(48) + pygame.mixer.set_num_channels(32) pygame.mixer.set_reserved(0) # Reserve channel for cut scenes # Enable key repeat for volume controls diff --git a/sound.py b/sound.py index 8e0639f..55959f1 100644 --- a/sound.py +++ b/sound.py @@ -118,7 +118,7 @@ class Sound: if not pygame.mixer.get_init(): pygame.mixer.pre_init(44100, -16, 2, 4096) pygame.mixer.init() - pygame.mixer.set_num_channels(48) + pygame.mixer.set_num_channels(32) pygame.mixer.set_reserved(1) # Reserve channel 0 for cutscenes self.load_sounds()