Searched refs:framesAvailable (Results 1 – 3 of 3) sorted by relevance
160 int32_t framesAvailable = writeCounter - readCounter; in getAvailableFrames() local161 return ResultWithValue<int32_t>(framesAvailable); in getAvailableFrames()169 int64_t framesAvailable = 0; in waitForAvailableFrames() local176 framesAvailable = result.value(); in waitForAvailableFrames()177 ready = (framesAvailable >= numFrames); in waitForAvailableFrames()186 : ResultWithValue<int32_t>(framesAvailable); in waitForAvailableFrames()
63 int32_t framesAvailable = resultAvailable.value(); in onAudioReady() local64 if (framesAvailable >= mMinimumFramesBeforeRead) { in onAudioReady()79 int32_t framesAvailable = resultAvailable.value(); in onAudioReady() local80 if (framesAvailable >= mMinimumFramesBeforeRead) { in onAudioReady()
75 uint32_t framesAvailable = mFifo->getFullFramesAvailable(); in read() local76 framesToRead = std::min(framesToRead, framesAvailable); in read()117 uint32_t framesAvailable = mFifo->getEmptyFramesAvailable(); in write() local118 framesToWrite = std::min(framesToWrite, framesAvailable); in write()