Searched refs:availableFrames (Results 1 – 2 of 2) sorted by relevance
90 const size_t availableFrames = getAvailableFramesNow(); in getWaitFramesNow() local91 return (requestedFrames > availableFrames) in getWaitFramesNow()92 ? (requestedFrames - availableFrames) : 0; in getWaitFramesNow()250 unsigned availableFrames; in read() local253 availableFrames = getAvailableFrames(nowNs); in read()254 if (availableFrames < requestedFrames / 2) { in read()255 const unsigned neededMoreFrames = requestedFrames / 2 - availableFrames; in read()264 const unsigned nFrames = std::min(requestedFrames, availableFrames); in read()
87 const size_t availableFrames = getAvailableFramesNow(); in getWaitFramesNow() local88 return (requestedFrames > availableFrames) in getWaitFramesNow()89 ? (requestedFrames - availableFrames) : 0; in getWaitFramesNow()