Searched refs:availToWrite (Results 1 – 1 of 1) sorted by relevance
92 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_write() local94 if (availToWrite > count) { in audio_utils_fifo_write()95 availToWrite = count; in audio_utils_fifo_write()100 if (part1 > availToWrite) { in audio_utils_fifo_write()101 part1 = availToWrite; in audio_utils_fifo_write()107 size_t part2 = availToWrite - part1; in audio_utils_fifo_write()114 android_atomic_release_store(audio_utils_fifo_sum(fifo, fifo->mRear, availToWrite), in audio_utils_fifo_write()117 return availToWrite; in audio_utils_fifo_write()