Home
last modified time | relevance | path

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

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPipeShort.java27 private int mFront; // writer's current position field in PipeShort
89 int front = mFront & (mMaxValues - 1); in read()
110 mFront += read; in read()
119 int avail = rear - mFront; in availableToRead()
122 int oldFront = mFront; in availableToRead()
123 mFront = rear - mMaxValues + (mMaxValues >> 4); in availableToRead()
124 mSamplesOverrun += mFront - oldFront; in availableToRead()
135 mRear = mFront; in flush()
136 mVolatileRear = mFront; in flush()
DPipeByteBuffer.java37 private int mFront = 0; // reader's current position field in PipeByteBuffer
80 int avail = availableToRead(rear, mFront); in read()
91 int front = mFront & (mMaxValues - 1); in read()
109 mFront += read; in read()
131 int oldFront = mFront; in availableToRead()
132 mFront = rear - mMaxValues + (mMaxValues >> 5); in availableToRead()
133 mSamplesOverrun += mFront - oldFront; in availableToRead()
150 avail = availableToRead(rear, mFront); in availableToRead()
163 mFront = 0; in flush()
/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
Dfifo.c38 fifo->mFront = 0; in audio_utils_fifo_init()
90 int32_t front = android_atomic_acquire_load(&fifo->mFront); in audio_utils_fifo_write()
123 int32_t front = fifo->mFront; in audio_utils_fifo_read()
143 android_atomic_release_store(audio_utils_fifo_sum(fifo, fifo->mFront, availToRead), in audio_utils_fifo_read()
144 &fifo->mFront); in audio_utils_fifo_read()
151 int32_t front = fifo->mFront; in audio_utils_fifo_availToRead()
Dfifo.h42 volatile int32_t mFront; // frame index of first frame slot available to read, or read index member