fixed init crash when no audo device available.