diff options
author | Chris Robinson <[email protected]> | 2008-01-14 12:51:36 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-14 12:51:36 -0800 |
commit | 1634b69faf895e2666f81af344aad76609cfbc60 (patch) | |
tree | 34f5e574a0c5b06216853ec623c4595fb0a23cb2 /Alc/alsa.c | |
parent | 59fa1f90d5968b9bcf9ae2b72af15b206a92c3ca (diff) |
Don't restart the stream right after preparing it
It needs to be filled, first
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -108,8 +108,6 @@ static int xrun_recovery(snd_pcm_t *handle, int err) if (err == -EPIPE) { /* under-run */ err = psnd_pcm_prepare(handle); - if(err >= 0) - err = psnd_pcm_start(handle); if (err < 0) AL_PRINT("prepare failed: %s\n", psnd_strerror(err)); } @@ -120,8 +118,6 @@ static int xrun_recovery(snd_pcm_t *handle, int err) if (err < 0) { err = psnd_pcm_prepare(handle); - if(err >= 0) - err = psnd_pcm_start(handle); if (err < 0) AL_PRINT("prepare failed: %s\n", psnd_strerror(err)); } |