moved creation of audio instance out of the audio thread mutex