aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/oss.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-09-08 04:37:52 -0700
committerChris Robinson <[email protected]>2014-09-08 04:37:52 -0700
commit2be33d8a771a77bbcdf5809ea980bc8586a4fe22 (patch)
tree84c98edb0b43996efd512bed250c4f8f4b8a9a12 /Alc/backends/oss.c
parentf38e88bc297d3c7e61a503f2e00c26cbdd7b2009 (diff)
Only pass nano seconds to al_nssleep
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 8c61ba93..631a496e 100644
--- a/Alc/backends/oss.c
+++ b/Alc/backends/oss.c
@@ -131,7 +131,7 @@ static int ALCplaybackOSS_mixerProc(void *ptr)
break;
}
- al_nssleep(0, 1000000);
+ al_nssleep(1000000);
continue;
}
@@ -362,7 +362,7 @@ static int ALCcaptureOSS_recordProc(void *ptr)
}
if(amt == 0)
{
- al_nssleep(0, 1000000);
+ al_nssleep(1000000);
continue;
}
if(self->doCapture)