aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 875d1347..9b81ebed 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -177,13 +177,11 @@ static ALuint ALSAProc(ALvoid *ptr)
{
err = psnd_pcm_start(data->pcmHandle);
if(err < 0)
- {
err = xrun_recovery(data->pcmHandle, err);
- if (err < 0)
- {
- AL_PRINT("start failed: %s\n", psnd_strerror(err));
- break;
- }
+ if(err < 0)
+ {
+ AL_PRINT("start failed: %s\n", psnd_strerror(err));
+ break;
}
}
Sleep(1);