Lines Matching refs:mBufferQueue
26 if (BUFFER_HEADER_TYPICAL >= ap->mBufferQueue.mNumBuffers) { in initializeBufferQueueMembers()
27 ap->mBufferQueue.mArray = ap->mBufferQueue.mTypical; in initializeBufferQueueMembers()
32 if (ap->mBufferQueue.mNumBuffers >= 256) { in initializeBufferQueueMembers()
35 ap->mBufferQueue.mArray = (BufferHeader *) in initializeBufferQueueMembers()
36 malloc((ap->mBufferQueue.mNumBuffers + 1) * sizeof(BufferHeader)); in initializeBufferQueueMembers()
37 if (NULL == ap->mBufferQueue.mArray) { in initializeBufferQueueMembers()
41 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray; in initializeBufferQueueMembers()
42 ap->mBufferQueue.mRear = ap->mBufferQueue.mArray; in initializeBufferQueueMembers()
301 nbBuffers = (SLuint16) thiz->mDataSource.mLocator.mBufferQueue.numBuffers; in IEngine_CreateAudioPlayer()
324 nbBuffers = thiz->mDataSink.mLocator.mBufferQueue.numBuffers; in IEngine_CreateAudioPlayer()
342 thiz->mBufferQueue.mNumBuffers = nbBuffers; in IEngine_CreateAudioPlayer()
499 thiz->mBufferQueue.mNumBuffers = in IEngine_CreateAudioRecorder()
500 thiz->mDataSink.mLocator.mBufferQueue.numBuffers; in IEngine_CreateAudioRecorder()
502 if (BUFFER_HEADER_TYPICAL >= thiz->mBufferQueue.mNumBuffers) { in IEngine_CreateAudioRecorder()
503 thiz->mBufferQueue.mArray = thiz->mBufferQueue.mTypical; in IEngine_CreateAudioRecorder()
508 if (thiz->mBufferQueue.mNumBuffers >= 256) { in IEngine_CreateAudioRecorder()
512 thiz->mBufferQueue.mArray = (BufferHeader *) malloc((thiz->mBufferQueue. in IEngine_CreateAudioRecorder()
514 if (NULL == thiz->mBufferQueue.mArray) { in IEngine_CreateAudioRecorder()
519 thiz->mBufferQueue.mFront = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder()
520 thiz->mBufferQueue.mRear = thiz->mBufferQueue.mArray; in IEngine_CreateAudioRecorder()