Lines Matching defs:framesWritten
824 size_t framesWritten = writeFrames(patchRecord, sourceBuffer.i8, frameCount);
827 size_t framesLeft = frameCount - framesWritten;
828 if (framesWritten != 0 && framesLeft != 0) {
829 framesWritten +=
830 writeFrames(patchRecord, sourceBuffer.i8 + framesWritten * mFrameSize, framesLeft);
831 framesLeft = frameCount - framesWritten;
835 framesWritten, frameCount, framesLeft);
857 auto framesWritten = patchBuffer.frameCount;
859 return framesWritten;
1313 int64_t framesWritten
1322 // to detect when all frames have been played. In this case framesWritten isn't
1325 ALOGV("%s(%d): presentationComplete() mPresentationCompleteFrames %lld framesWritten %lld",
1327 (long long)mPresentationCompleteFrames, (long long)framesWritten);
1329 mPresentationCompleteFrames = framesWritten + audioHalFrames;
1340 complete = framesWritten >= (int64_t) mPresentationCompleteFrames;
1342 complete = framesWritten >= (int64_t) mPresentationCompleteFrames