aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-10-17 22:17:59 -0700
committerChris Robinson <[email protected]>2009-10-17 22:17:59 -0700
commit1fb58f9f8e54626036e4bbf09533e653881c118e (patch)
tree653e80709a6f5ae52e6c7ca9ed881d90941ba2a3
parent86e0b9386dd4a8fa788a4255e54f3b65f91ab61a (diff)
Fix OSS and Solaris playback loop check
-rw-r--r--Alc/oss.c2
-rw-r--r--Alc/solaris.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/oss.c b/Alc/oss.c
index 6d004920..fa463e0c 100644
--- a/Alc/oss.c
+++ b/Alc/oss.c
@@ -85,7 +85,7 @@ static ALuint OSSProc(ALvoid *ptr)
frameSize = aluChannelsFromFormat(pDevice->Format) *
aluBytesFromFormat(pDevice->Format);
- while(!data->killNow && !pDevice->Connected)
+ while(!data->killNow && pDevice->Connected)
{
ALint len = data->data_size;
ALubyte *WritePtr = data->mix_data;
diff --git a/Alc/solaris.c b/Alc/solaris.c
index 6f590e5e..988a91f0 100644
--- a/Alc/solaris.c
+++ b/Alc/solaris.c
@@ -60,7 +60,7 @@ static ALuint SolarisProc(ALvoid *ptr)
frameSize = aluChannelsFromFormat(pDevice->Format) *
aluBytesFromFormat(pDevice->Format);
- while(!data->killNow && !pDevice->Connected)
+ while(!data->killNow && pDevice->Connected)
{
ALint len = data->data_size;
ALubyte *WritePtr = data->mix_data;