Fix OSS and Solaris playback loop check
This commit is contained in:
parent
86e0b9386d
commit
1fb58f9f8e
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user