Compare commits
1 Commits
f2079261d1
...
8cca66d44e
Author | SHA1 | Date | |
---|---|---|---|
|
8cca66d44e |
2
sound.py
2
sound.py
@@ -29,7 +29,7 @@ class Sound:
|
|||||||
self.volumeService = volumeService or VolumeService.get_instance()
|
self.volumeService = volumeService or VolumeService.get_instance()
|
||||||
|
|
||||||
if not pygame.mixer.get_init():
|
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.init()
|
||||||
pygame.mixer.set_num_channels(32)
|
pygame.mixer.set_num_channels(32)
|
||||||
pygame.mixer.set_reserved(0)
|
pygame.mixer.set_reserved(0)
|
||||||
|
Reference in New Issue
Block a user