Searched refs:framesToWrite (Results 1 – 3 of 3) sorted by relevance
116 uint32_t framesToWrite = static_cast<uint32_t>(numFrames); in write() local118 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()
51 int32_t write(const void *source, int32_t framesToWrite);
153 int32_t framesToWrite = std::max(0, std::min(framesLeft, emptyFrames)); in transfer() local154 result = mFifoBuffer->write(data, framesToWrite); in transfer()