Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DPipeShort.java23 private int mFront; field in PipeShort
69 int avail = rear - mFront; in availableToRead()
72 int oldFront = mFront; in availableToRead()
73 mFront = rear - mMaxValues + (mMaxValues >> 4); in availableToRead()
74 mBytesOverrun += mFront - oldFront; in availableToRead()
97 int front = mFront & (mMaxValues - 1); in read()
114 mFront += red; in read()
120 mRear = mFront; in flush()
121 mVolatileRear = mFront; in flush()
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c38 fifo->mFront = 0; in audio_utils_fifo_init()
85 int32_t front = android_atomic_acquire_load(&fifo->mFront); in audio_utils_fifo_write()
113 int32_t front = fifo->mFront; in audio_utils_fifo_read()
131 android_atomic_release_store(audio_utils_fifo_sum(fifo, fifo->mFront, availToRead), in audio_utils_fifo_read()
132 &fifo->mFront); in audio_utils_fifo_read()
Dfifo.h42 volatile int32_t mFront; // frame index of first frame slot available to read, or read index member