aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/oss.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-11 14:55:35 -0800
committerChris Robinson <[email protected]>2008-01-11 14:55:35 -0800
commitaa453b4e9e325df3debd65f0d965e8b2b5eb53e3 (patch)
tree58b4a1382decff30ad3030dcca78c6f9e50ae159 /Alc/oss.c
parentf8089d20262681542dd214da130f4462d6a9eb8b (diff)
Use Sleep instead of usleep
Diffstat (limited to 'Alc/oss.c')
-rw-r--r--Alc/oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index 77fe4192..299146b2 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -105,7 +105,7 @@ static ALuint OSSProc(ALvoid *ptr)
memmove(data->mix_data, data->mix_data+wrote, remaining);
}
else
- usleep(1000);
+ Sleep(1);
}
return 0;
@@ -131,7 +131,7 @@ static ALuint OSSCaptureProc(ALvoid *ptr)
}
if(amt == 0)
{
- usleep(1000);
+ Sleep(1);
continue;
}
if(data->doCapture)