Searched refs:requestedFrames (Results 1 – 2 of 2) sorted by relevance
89 size_t getWaitFramesNow(const size_t requestedFrames) const { in getWaitFramesNow()91 return (requestedFrames > availableFrames) in getWaitFramesNow()92 ? (requestedFrames - availableFrames) : 0; in getWaitFramesNow()248 const unsigned requestedFrames = bytesToRead / nChannels / sizeof(*samples); in read() local254 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()
86 size_t getWaitFramesNow(const size_t requestedFrames) const { in getWaitFramesNow()88 return (requestedFrames > availableFrames) in getWaitFramesNow()89 ? (requestedFrames - availableFrames) : 0; in getWaitFramesNow()