From b020dd13fda12ffa275f6c8165dcad481f9658d6 Mon Sep 17 00:00:00 2001 From: Chris Robinson <chris.kcat@gmail.com> Date: Wed, 16 Apr 2014 06:59:44 -0700 Subject: Avoid using a Sleep() wrapper --- Alc/backends/pulseaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/backends/pulseaudio.c') 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; } -- cgit v1.2.3