Attempt to reduce pops and clicks.

This commit is contained in:
Storm Dragon
2025-09-15 20:54:45 -04:00
parent 8cca66d44e
commit a96f9744a9

View File

@@ -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, 4096)
pygame.mixer.pre_init(44100, -16, 2, 512)
pygame.mixer.init()
pygame.mixer.set_num_channels(32)
pygame.mixer.set_reserved(0)