aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-16 06:59:44 -0700
committerChris Robinson <[email protected]>2014-04-16 06:59:44 -0700
commitb020dd13fda12ffa275f6c8165dcad481f9658d6 (patch)
tree8d9ab0e331765c305f62ab4cf609261913333b64 /Alc/backends/pulseaudio.c
parent184cf30cf70d0efcba8cfb7c27f464dbc4a3edaf (diff)
Avoid using a Sleep() wrapper
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index 6b7b00a3..8bc147a8 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -783,7 +783,7 @@ static int ALCpulsePlayback_mixerProc(void *ptr)
if(o) pa_operation_unref(o);
}
pa_threaded_mainloop_unlock(self->loop);
- Sleep(1);
+ al_nssleep(0, 1000000);
pa_threaded_mainloop_lock(self->loop);
continue;
}