fix crash if no audio driver found
fix crash on exit if no audio driver