aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.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/oss.c
parent184cf30cf70d0efcba8cfb7c27f464dbc4a3edaf (diff)
Avoid using a Sleep() wrapper
Diffstat (limited to 'Alc/backends/oss.c')
-rw-r--r--Alc/backends/oss.c4
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)