diff options
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -248,9 +248,8 @@ static ALuint ALSANoMMapProc(ALvoid *ptr) case -EAGAIN: continue; case -ESTRPIPE: - do { - ret = psnd_pcm_resume(data->pcmHandle); - } while(ret == -EAGAIN); + while((ret=psnd_pcm_resume(data->pcmHandle)) == -EAGAIN) + Sleep(1); break; case -EPIPE: break; |