One more small sound tweak.

This commit is contained in:
Storm Dragon
2025-09-19 00:23:21 -04:00
parent 95215eefc8
commit 6daa243710
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ def initialize_gui(gameTitle):
# Initialize audio system if not already done
if not pygame.mixer.get_init():
pygame.mixer.pre_init(44100, -16, 2, 4096, allowedchanges=0)
pygame.mixer.pre_init(44100, -16, 2, 1024, allowedchanges=0)
pygame.mixer.init()
pygame.mixer.set_num_channels(48)
pygame.mixer.set_reserved(1) # Reserve channel 0 for cutscenes only