Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/cpp/audio_utils/
Dfifo.c124 size_t availToRead = audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_read() local
125 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() local
153 return availToRead; in audio_utils_fifo_availToRead()
/external/drrickorang/LoopbackApp/app/src/main/cpp/
Dsles.cpp225 size_t availToRead = audio_utils_fifo_availToRead(&pSles->fifo); in playerCallback() local
226 if (availToRead < pSles->bufSizeInFrames * 2) { in playerCallback()