Searched refs:framesToWrite (Results 1 – 4 of 4) sorted by relevance
211 int32_t framesToWrite = framesLeft; in writeNowWithConversion() local214 if (framesToWrite > framesAvailable) { in writeNowWithConversion()215 framesToWrite = framesAvailable; in writeNowWithConversion()218 int32_t numBytes = getBytesPerFrame() * framesToWrite; in writeNowWithConversion()222 mVolumeRamp.nextSegment(framesToWrite, &levelFrom, &levelTo); in writeNowWithConversion()233 AAudioDataConverter::convert(source, destination, framesToWrite, in writeNowWithConversion()237 framesLeft -= framesToWrite; in writeNowWithConversion()
165 fifo_frames_t framesToWrite = framesLeft; in write() local168 if (framesToWrite > framesAvailable) { in write()169 framesToWrite = framesAvailable; in write()171 int32_t numBytes = convertFramesToBytes(framesToWrite); in write()175 framesLeft -= framesToWrite; in write()
54 fifo_frames_t write(const void *source, fifo_frames_t framesToWrite);
117 fifo_frames_t framesToWrite = std::min(framesAvailable, numFrames); in writeData() local118 for (int i = 0; i < framesToWrite; i++) { in writeData()121 fifo_frames_t actual = mFifoBuffer.write(mData, framesToWrite); in writeData()122 ASSERT_EQ(framesToWrite, actual); in writeData()