Lines Matching refs:framesLeft
118 fifo_frames_t framesLeft = numFrames; in read() local
124 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in read()
125 fifo_frames_t framesToRead = framesLeft; in read()
135 framesLeft -= framesToRead; in read()
141 fifo_frames_t framesRead = numFrames - framesLeft; in read()
149 fifo_frames_t framesLeft = numFrames; in write() local
155 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in write()
156 fifo_frames_t framesToWrite = framesLeft; in write()
166 framesLeft -= framesToWrite; in write()
172 fifo_frames_t framesWritten = numFrames - framesLeft; in write()
198 fifo_frames_t framesLeft = numFrames; in eraseEmptyMemory() local
204 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in eraseEmptyMemory()
205 fifo_frames_t framesToWrite = framesLeft; in eraseEmptyMemory()
213 framesLeft -= framesToWrite; in eraseEmptyMemory()
219 return numFrames - framesLeft; // number erased in eraseEmptyMemory()