From 8cca66d44e694002ce5d19d130837ba6a068ac86 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 12 Sep 2025 17:03:58 -0400 Subject: [PATCH] Tweaked the mixer initialization just a tiny bit, hopefully will make sound smoother. --- sound.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound.py b/sound.py index 9de6be4..1a4d7cc 100644 --- a/sound.py +++ b/sound.py @@ -29,7 +29,7 @@ class Sound: self.volumeService = volumeService or VolumeService.get_instance() if not pygame.mixer.get_init(): - pygame.mixer.pre_init(44100, -16, 2, 1024) + pygame.mixer.pre_init(44100, -16, 2, 4096) pygame.mixer.init() pygame.mixer.set_num_channels(32) pygame.mixer.set_reserved(0)