diff options
author | Chris Robinson <[email protected]> | 2014-04-16 06:59:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-04-16 06:59:44 -0700 |
commit | b020dd13fda12ffa275f6c8165dcad481f9658d6 (patch) | |
tree | 8d9ab0e331765c305f62ab4cf609261913333b64 /Alc/backends/pulseaudio.c | |
parent | 184cf30cf70d0efcba8cfb7c27f464dbc4a3edaf (diff) |
Avoid using a Sleep() wrapper
Diffstat (limited to 'Alc/backends/pulseaudio.c')
-rw-r--r-- | Alc/backends/pulseaudio.c | 2 |
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; } |