diff options
-rw-r--r-- | Alc/opensl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Alc/opensl.c b/Alc/opensl.c index b5fccf36..89b1d36f 100644 --- a/Alc/opensl.c +++ b/Alc/opensl.c @@ -169,10 +169,12 @@ static void opensl_callback(SLAndroidSimpleBufferQueueItf bq, void *context) { ALCdevice *Device = context; osl_data *data = Device->ExtraData; + SLresult result; 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"); } |