Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Ddevice_port_source.cpp112 const size_t writeBufSzBytes = std::min(chunk.size, bytesToRead); in read() local
116 writeBufSzBytes / sizeof(int16_t)); in read()
118 writer(chunk.data, writeBufSzBytes); in read()
119 LOG_ALWAYS_FATAL_IF(mRingBuffer.consume(chunk, writeBufSzBytes) < writeBufSzBytes); in read()
121 bytesToRead -= writeBufSzBytes; in read()
122 mSentFrames += writeBufSzBytes / mFrameSize; in read()