One more small sound tweak.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user