Fixed mismatch in buffer initialization in display.py and sound.py.
This commit is contained in:
@@ -45,7 +45,7 @@ def initialize_gui(gameTitle):
|
||||
pygame.display.set_caption(gameTitle)
|
||||
|
||||
# Set up audio system
|
||||
pygame.mixer.pre_init(44100, -16, 2, 1024)
|
||||
pygame.mixer.pre_init(44100, -16, 2, 512)
|
||||
pygame.mixer.init()
|
||||
pygame.mixer.set_num_channels(32)
|
||||
pygame.mixer.set_reserved(0) # Reserve channel for cut scenes
|
||||
|
Reference in New Issue
Block a user