snd_pcm_wait(pcm, 1);
break;
case -EPIPE:
case -EBADFD:
if (snd_pcm_prepare(pcm) != 0) {
}
#if EPIPE != ESTRPIPE
case -ESTRPIPE:
#endif
if ((snd_pcm_resume(pcm) != 0) && (snd_pcm_prepare(pcm) != 0)) {
FLUID_LOG(FLUID_ERR, "Failed to resume the audio device");