Home
last modified time | relevance | path

Searched refs:mDataQueue (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp128 if(mUpCommandQueue != nullptr || mDataQueue != nullptr) { in configure()
177 mDataQueue = std::make_unique<FifoBufferIndirect>( in configureDataQueue()
185 mDataQueue->setThreshold(threshold); in configureDataQueue()
195 return mDataQueue == nullptr ? 0 : mDataQueue->getEmptyRoomAvailable(wrappingBuffer); in getEmptyFramesAvailable()
199 return mDataQueue == nullptr ? 0 : mDataQueue->getEmptyFramesAvailable(); in getEmptyFramesAvailable()
203 return mDataQueue == nullptr ? 0 : mDataQueue->getFullDataAvailable(wrappingBuffer); in getFullFramesAvailable()
207 return mDataQueue == nullptr ? 0 : mDataQueue->getFullFramesAvailable(); in getFullFramesAvailable()
211 return mDataQueue == nullptr ? 0 : mDataQueue->read(buffer, numFrames); in read()
215 return mDataQueue == nullptr ? 0 : mDataQueue->write(buffer, numFrames); in write()
219 if (mDataQueue != nullptr) { in advanceWriteIndex()
[all …]
DAudioEndpoint.h98 mDataQueue->setThreshold(frames); in setThreshold()
102 return mDataQueue->getThreshold(); in getThreshold()
112 void freeDataQueue() { mDataQueue.reset(); } in freeDataQueue()
118 std::unique_ptr<android::FifoBufferIndirect> mDataQueue; variable