Home
last modified time | relevance | path

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

/device/generic/goldfish/audio/
Ddevice_port_source.cpp89 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() local
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.cpp86 size_t getWaitFramesNow(const size_t requestedFrames) const { in getWaitFramesNow()
88 return (requestedFrames > availableFrames) in getWaitFramesNow()
89 ? (requestedFrames - availableFrames) : 0; in getWaitFramesNow()