Home
last modified time | relevance | path

Searched refs:availableFrames (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/audio/
Ddevice_port_source.cpp90 const size_t availableFrames = getAvailableFramesNow(); in getWaitFramesNow() local
91 return (requestedFrames > availableFrames) in getWaitFramesNow()
92 ? (requestedFrames - availableFrames) : 0; in getWaitFramesNow()
250 unsigned availableFrames; in read() local
253 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()
Ddevice_port_sink.cpp87 const size_t availableFrames = getAvailableFramesNow(); in getWaitFramesNow() local
88 return (requestedFrames > availableFrames) in getWaitFramesNow()
89 ? (requestedFrames - availableFrames) : 0; in getWaitFramesNow()