few minor fixes for audio driver