Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Ddevice_port_source.cpp166 std::vector<uint8_t> readBuf(mReadSizeFrames * mFrameSize); in producerThread() local
169 const size_t bytesLost = mRingBuffer.makeRoomForProduce(readBuf.size()); in producerThread()
173 if (produceChunk.size < readBuf.size()) { in producerThread()
174 const size_t sz = doRead(readBuf.data(), readBuf.size()); in producerThread()
176 LOG_ALWAYS_FATAL_IF(mRingBuffer.produce(readBuf.data(), sz) < sz); in producerThread()
179 const size_t sz = doRead(produceChunk.data, readBuf.size()); in producerThread()
181 LOG_ALWAYS_FATAL_IF(mRingBuffer.produce(readBuf.size()) < sz); in producerThread()