Commit 9d36c6c1 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Fix method name

parent 3747a3dc
......@@ -19,7 +19,7 @@ def main():
port = config["DEFAULT"]['port']
host = config["DEFAULT"]['host']
pg.init(44100, size=-16, channels=1, buffer=4096)
pg.mixer.pre_init(44100, size=-16, channels=1, buffer=4096)
pg.mixer.init()
pg.mixer.set_num_channels(3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment