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/oss.c | |
parent | 184cf30cf70d0efcba8cfb7c27f464dbc4a3edaf (diff) |
Avoid using a Sleep() wrapper
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r-- | Alc/backends/oss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/oss.c b/Alc/backends/oss.c index bf54bb4c..2a4e4dd3 100644 --- a/Alc/backends/oss.c +++ b/Alc/backends/oss.c @@ -131,7 +131,7 @@ static int ALCplaybackOSS_mixerProc(void *ptr) break; } - Sleep(1); + al_nssleep(0, 1000000); continue; } @@ -362,7 +362,7 @@ static int ALCcaptureOSS_recordProc(void *ptr) } if(amt == 0) { - Sleep(1); + al_nssleep(0, 1000000); continue; } if(self->doCapture) |