Searched refs:availToRead (Results 1 – 2 of 2) sorted by relevance
124 size_t availToRead = audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_read() local125 if (availToRead > count) { in audio_utils_fifo_read()126 availToRead = count; in audio_utils_fifo_read()131 if (part1 > availToRead) { in audio_utils_fifo_read()132 part1 = availToRead; in audio_utils_fifo_read()138 size_t part2 = availToRead - part1; in audio_utils_fifo_read()143 android_atomic_release_store(audio_utils_fifo_sum(fifo, fifo->mFront, availToRead), in audio_utils_fifo_read()146 return availToRead; in audio_utils_fifo_read()152 size_t availToRead = audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_availToRead() local153 return availToRead; in audio_utils_fifo_availToRead()
225 size_t availToRead = audio_utils_fifo_availToRead(&pSles->fifo); in playerCallback() local226 if (availToRead < pSles->bufSizeInFrames * 2) { in playerCallback()