586
586
if (snd_pcm_state(p->alsa) == SND_PCM_STATE_SUSPENDED) {
587
587
MP_INFO(ao, "PCM in suspend mode, trying to resume.\n");
588
589
while ((err = snd_pcm_resume(p->alsa)) == -EAGAIN)
592
594
err = snd_pcm_pause(p->alsa, 0);
593
595
CHECK_ALSA_ERROR("pcm resume error");