Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/cpp/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()
52 uint32_t mask = fifo->mFrameCountP2 - 1; in audio_utils_fifo_sum()
54 ALOG_ASSERT(/*0 <= increment &&*/ increment <= fifo->mFrameCountP2); in audio_utils_fifo_sum()
74 uint32_t mask = ~(fifo->mFrameCountP2 - 1); in audio_utils_fifo_diff()
78 ALOG_ASSERT(genDiff == (int32_t) fifo->mFrameCountP2); in audio_utils_fifo_diff()
98 rear &= fifo->mFrameCountP2 - 1; in audio_utils_fifo_write()
129 front &= fifo->mFrameCountP2 - 1; in audio_utils_fifo_read()
Dfifo.h36 size_t mFrameCountP2; // roundup(mFrameCount) member