aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/opensl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/opensl.c')
-rw-r--r--Alc/opensl.c4
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");
}