Lines Matching refs:bufferQueue
273 IBufferQueue *bufferQueue = &track->mAudioPlayer->mBufferQueue; in IOutputMixExt_FillBuffer() local
274 interface_lock_exclusive(bufferQueue); in IOutputMixExt_FillBuffer()
276 oldFront = bufferQueue->mFront; in IOutputMixExt_FillBuffer()
277 rear = bufferQueue->mRear; in IOutputMixExt_FillBuffer()
281 if (++newFront == &bufferQueue->mArray[bufferQueue->mNumBuffers + 1]) { in IOutputMixExt_FillBuffer()
282 newFront = bufferQueue->mArray; in IOutputMixExt_FillBuffer()
284 bufferQueue->mFront = (BufferHeader *) newFront; in IOutputMixExt_FillBuffer()
285 assert(0 < bufferQueue->mState.count); in IOutputMixExt_FillBuffer()
286 --bufferQueue->mState.count; in IOutputMixExt_FillBuffer()
290 assert(0 < bufferQueue->mState.count); in IOutputMixExt_FillBuffer()
296 ++bufferQueue->mState.playIndex; in IOutputMixExt_FillBuffer()
297 slBufferQueueCallback callback = bufferQueue->mCallback; in IOutputMixExt_FillBuffer()
298 void *context = bufferQueue->mContext; in IOutputMixExt_FillBuffer()
299 interface_unlock_exclusive(bufferQueue); in IOutputMixExt_FillBuffer()
302 (*callback)((SLBufferQueueItf) bufferQueue, context); in IOutputMixExt_FillBuffer()