summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alsa.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 8bc6d903..19bda047 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -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));
}