aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.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/wave.c
parentf38e88bc297d3c7e61a503f2e00c26cbdd7b2009 (diff)
Only pass nano seconds to al_nssleep
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r--Alc/backends/wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c
index ef1c307b..c80e059d 100644
--- a/Alc/backends/wave.c
+++ b/Alc/backends/wave.c
@@ -159,7 +159,7 @@ static int ALCwaveBackend_mixerProc(void *ptr)
}
if(avail-done < device->UpdateSize)
- al_nssleep(0, restTime);
+ al_nssleep(restTime);
else while(avail-done >= device->UpdateSize)
{
aluMixData(device, self->mBuffer, device->UpdateSize);