Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c87 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_write() local
88 if (availToWrite > count) { in audio_utils_fifo_write()
89 availToWrite = count; in audio_utils_fifo_write()
93 if (part1 > availToWrite) { in audio_utils_fifo_write()
94 part1 = availToWrite; in audio_utils_fifo_write()
99 size_t part2 = availToWrite - part1; in audio_utils_fifo_write()
104 android_atomic_release_store(audio_utils_fifo_sum(fifo, fifo->mRear, availToWrite), in audio_utils_fifo_write()
107 return availToWrite; in audio_utils_fifo_write()