ALSA: handle device errors on open and playing.