Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c34 fifo->mFrameCountP2 = roundup(frameCount); in audio_utils_fifo_init()
35 fifo->mFudgeFactor = fifo->mFrameCountP2 - fifo->mFrameCount; in audio_utils_fifo_init()
51 uint32_t mask = fifo->mFrameCountP2 - 1; in audio_utils_fifo_sum()
53 ALOG_ASSERT(/*0 <= increment &&*/ increment <= fifo->mFrameCountP2); in audio_utils_fifo_sum()
71 uint32_t mask = ~(fifo->mFrameCountP2 - 1); in audio_utils_fifo_diff()
74 ALOG_ASSERT(genDiff == (int32_t) fifo->mFrameCountP2); in audio_utils_fifo_diff()
91 rear &= fifo->mFrameCountP2 - 1; in audio_utils_fifo_write()
118 front &= fifo->mFrameCountP2 - 1; in audio_utils_fifo_read()
Dfifo.h36 size_t mFrameCountP2; // roundup(mFrameCount) member