Fix OSS and Solaris playback loop check

This commit is contained in:
Chris Robinson 2009-10-17 22:17:59 -07:00
parent 86e0b9386d
commit 1fb58f9f8e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;