aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-07 10:29:31 -0800
committerChris Robinson <[email protected]>2017-02-07 10:55:36 -0800
commitc771b82a39bcbb29b2ab97b3e592ee96a190e7cc (patch)
treee9db3d1643c57ef5263915ba4570b0eb74070020
parent9f10ae466c089388db1bd9ff236eec50ed98b157 (diff)
Use the correct IID for the opensl buffer queue
-rw-r--r--Alc/backends/opensl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Alc/backends/opensl.c b/Alc/backends/opensl.c
index 878519bd..a667dc70 100644
--- a/Alc/backends/opensl.c
+++ b/Alc/backends/opensl.c
@@ -249,8 +249,9 @@ static int ALCopenslPlayback_mixerProc(void *arg)
SetRTPriority();
althrd_setname(althrd_current(), MIXER_THREAD_NAME);
- result = VCALL(self->mBufferQueueObj,GetInterface)(SL_IID_BUFFERQUEUE, &bufferQueue);
- PRINTERR(result, "bufferQueue->GetInterface SL_IID_BUFFERQUEUE");
+ result = VCALL(self->mBufferQueueObj,GetInterface)(SL_IID_ANDROIDSIMPLEBUFFERQUEUE,
+ &bufferQueue);
+ PRINTERR(result, "bufferQueue->GetInterface SL_IID_ANDROIDSIMPLEBUFFERQUEUE");
if(SL_RESULT_SUCCESS == result)
{
result = VCALL(self->mBufferQueueObj,GetInterface)(SL_IID_PLAY, &player);