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.java38 private int mFront = 0; // reader's current position field in PipeByteBuffer
81 int avail = availableToRead(rear, mFront); in read()
92 int front = mFront & (mMaxValues - 1); in read()
110 mFront += read; in read()
132 int oldFront = mFront; in availableToRead()
133 mFront = rear - mMaxValues + (mMaxValues >> 5); in availableToRead()
134 mSamplesOverrun += mFront - oldFront; in availableToRead()
151 avail = availableToRead(rear, mFront); in availableToRead()
164 mFront = 0; in flush()
/external/drrickorang/LoopbackApp/app/src/main/cpp/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