Searched refs:availToWrite (Results 1 – 1 of 1) sorted by relevance
87 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_write() local88 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()