Lines Matching refs:mDataQueue
36 , mDataQueue(nullptr) in AudioEndpoint()
44 delete mDataQueue; in ~AudioEndpoint()
142 if(mUpCommandQueue != nullptr || mDataQueue != nullptr) { in configure()
176 mDataQueue = new FifoBuffer( in configure()
184 mDataQueue->setThreshold(threshold); in configure()
194 return mDataQueue->getEmptyRoomAvailable(wrappingBuffer); in getEmptyFramesAvailable()
199 return mDataQueue->getEmptyFramesAvailable(); in getEmptyFramesAvailable()
204 return mDataQueue->getFullDataAvailable(wrappingBuffer); in getFullFramesAvailable()
209 return mDataQueue->getFullFramesAvailable(); in getFullFramesAvailable()
213 mDataQueue->advanceWriteIndex(deltaFrames); in advanceWriteIndex()
217 mDataQueue->advanceReadIndex(deltaFrames); in advanceReadIndex()
222 mDataQueue->setReadCounter(framesRead); in setDataReadCounter()
227 return mDataQueue->getReadCounter(); in getDataReadCounter()
232 mDataQueue->setWriteCounter(framesRead); in setDataWriteCounter()
237 return mDataQueue->getWriteCounter(); in getDataWriteCounter()
246 mDataQueue->setThreshold(requestedFrames); in setBufferSizeInFrames()
247 *actualFrames = mDataQueue->getThreshold(); in setBufferSizeInFrames()
253 return mDataQueue->getThreshold(); in getBufferSizeInFrames()
258 return (int32_t)mDataQueue->getBufferCapacityInFrames(); in getBufferCapacityInFrames()
262 ALOGD("data readCounter = %lld", (long long) mDataQueue->getReadCounter()); in dump()
263 ALOGD("data writeCounter = %lld", (long long) mDataQueue->getWriteCounter()); in dump()
267 mDataQueue->eraseMemory(); in eraseDataMemory()