Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/oboe/src/fifo/
DFifoBuffer.cpp116 uint32_t framesToWrite = static_cast<uint32_t>(numFrames); in write() local
118 framesToWrite = std::min(framesToWrite, framesAvailable); in write()
124 if ((writeIndex + framesToWrite) > mFifo->getFrameCapacity()) { in write()
135 int frames2 = static_cast<uint32_t>(framesToWrite - frames1); in write()
143 int32_t numBytes = convertFramesToBytes(framesToWrite); in write()
149 mFifo->advanceWriteIndex(framesToWrite); in write()
151 return framesToWrite; in write()
DFifoBuffer.h51 int32_t write(const void *source, int32_t framesToWrite);
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamBuffered.cpp153 int32_t framesToWrite = std::max(0, std::min(framesLeft, emptyFrames)); in transfer() local
154 result = mFifoBuffer->write(data, framesToWrite); in transfer()