Major changes to sound.c: - add mutex (fixes segfault, free erros) - allow only one sound at a time, wait for previous to finish - outsource init function - add global variables - return if successfully played
103 KiB
103 KiB