aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/null.c2
-rw-r--r--Alc/backends/oss.c4
-rw-r--r--Alc/backends/solaris.c2
-rw-r--r--Alc/backends/wave.c2
4 files changed, 5 insertions, 5 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);
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)
diff --git a/Alc/backends/solaris.c b/Alc/backends/solaris.c
index b29fdea1..5d51d460 100644
--- a/Alc/backends/solaris.c
+++ b/Alc/backends/solaris.c
@@ -86,7 +86,7 @@ static int SolarisProc(void *ptr)
break;
}
- al_nssleep(0, 1000000);
+ al_nssleep(1000000);
continue;
}
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);