Use highlevel function snd_pcm_recover() the recover from error states.
Attach a file by drag & drop or click to upload