Home
last modified time | relevance | path

Searched refs:bufferQueue (Results 1 – 4 of 4) sorted by relevance

/frameworks/wilhelm/src/itf/
DIOutputMixExt.c273 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()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestSawtoothBufferQueue.cpp112 SLDataLocator_BufferQueue bufferQueue; in TestPlaySawtoothBufferQueue() local
162 bufferQueue.locatorType = SL_DATALOCATOR_BUFFERQUEUE; in TestPlaySawtoothBufferQueue()
163 bufferQueue.numBuffers = 4; /* Four buffers in our buffer queue */ in TestPlaySawtoothBufferQueue()
175 audioSource.pLocator = (void *)&bufferQueue; in TestPlaySawtoothBufferQueue()
/frameworks/wilhelm/src/desktop/
DSndFile.c256 SLBufferQueueItf bufferQueue = &thiz->mBufferQueue.mItf; in SndFile_Realize() local
257 IBufferQueue *thisBQ = (IBufferQueue *) bufferQueue; in SndFile_Realize()
/frameworks/native/libs/gui/
DConsumerBase.cpp57 ConsumerBase::ConsumerBase(const sp<IGraphicBufferConsumer>& bufferQueue, bool controlledByApp) : in ConsumerBase() argument
59 mConsumer(bufferQueue) { in ConsumerBase()