Trace errors in the opensl callback

This commit is contained in:
Chris Robinson 2011-06-14 01:51:44 -07:00
parent 823f5779e1
commit bfe09b933e

View File

@ -169,10 +169,12 @@ static void opensl_callback(SLAndroidSimpleBufferQueueItf bq, void *context)
{ {
ALCdevice *Device = context; ALCdevice *Device = context;
osl_data *data = Device->ExtraData; osl_data *data = Device->ExtraData;
SLresult result;
aluMixData(Device, data->buffer, data->bufferSize/data->frameSize); aluMixData(Device, data->buffer, data->bufferSize/data->frameSize);
(*bq)->Enqueue(bq, data->buffer, data->bufferSize); result = (*bq)->Enqueue(bq, data->buffer, data->bufferSize);
PRINTERR(result, "bq->Enqueue");
} }