It is unknown how thread-safe the audio engine is. Because audio engines often exist on seperate threads, this should be fixed ASAP. The actual code change would have to do with the addition of audio resources to the playback engine and to the static array.