summaryrefslogtreecommitdiffstats
path: root/src/itf/IBufferQueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/itf/IBufferQueue.c')
-rw-r--r--src/itf/IBufferQueue.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/itf/IBufferQueue.c b/src/itf/IBufferQueue.c
index 9503694..4e310b7 100644
--- a/src/itf/IBufferQueue.c
+++ b/src/itf/IBufferQueue.c
@@ -96,6 +96,7 @@ SLresult IBufferQueue_Clear(SLBufferQueueItf self)
thiz->mState.count = 0;
thiz->mState.playIndex = 0;
thiz->mSizeConsumed = 0;
+ thiz->mCallbackPending = false;
}
}
#endif
@@ -185,6 +186,7 @@ void IBufferQueue_init(void *self)
thiz->mRear = NULL;
#ifdef ANDROID
thiz->mSizeConsumed = 0;
+ thiz->mCallbackPending = false;
#endif
BufferHeader *bufferHeader = thiz->mTypical;
unsigned i;