diff options
author | Chris Robinson <[email protected]> | 2014-09-08 04:37:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-09-08 04:37:52 -0700 |
commit | 2be33d8a771a77bbcdf5809ea980bc8586a4fe22 (patch) | |
tree | 84c98edb0b43996efd512bed250c4f8f4b8a9a12 /Alc/backends/null.c | |
parent | f38e88bc297d3c7e61a503f2e00c26cbdd7b2009 (diff) |
Only pass nano seconds to al_nssleep
Diffstat (limited to 'Alc/backends/null.c')
-rw-r--r-- | Alc/backends/null.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/null.c b/Alc/backends/null.c index 9dc90288..7010f41c 100644 --- a/Alc/backends/null.c +++ b/Alc/backends/null.c @@ -106,7 +106,7 @@ static int ALCnullBackend_mixerProc(void *ptr) } if(avail-done < device->UpdateSize) - al_nssleep(0, restTime); + al_nssleep(restTime); else while(avail-done >= device->UpdateSize) { aluMixData(device, NULL, device->UpdateSize); |