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

/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
H A DPipeShort.java27 private int mFront; // writer's current position field in class:PipeShort
34 * IMPORTANT: Since a signed integer is used to store mRear and mFront, their values should not
35 * exceed 2^31 - 1, or else overflows happens and the positions of read and mFront becomes
89 int front = mFront & (mMaxValues - 1);
110 mFront += read;
119 int avail = rear - mFront;
122 int oldFront = mFront;
123 mFront = rear - mMaxValues + (mMaxValues >> 4);
124 mSamplesOverrun += mFront - oldFront;
135 mRear = mFront;
[all...]
H A DPipeByteBuffer.java37 private int mFront = 0; // reader's current position field in class:PipeByteBuffer
50 * IMPORTANT: Since a signed integer is used to store rear and mFront, their values should not
51 * exceed 2^31 - 1, or else overflows happens and the positions of read and mFront becomes
66 * Note: rear and mFront are keep in terms of number of short instead of number of byte.
80 int avail = availableToRead(rear, mFront);
91 int front = mFront & (mMaxValues - 1);
109 mFront += read;
131 int oldFront = mFront;
132 mFront = rear - mMaxValues + (mMaxValues >> 5);
133 mSamplesOverrun += mFront
[all...]
/external/drrickorang/LoopbackApp/app/src/main/jni/audio_utils/
H A Dfifo.c38 fifo->mFront = 0;
48 // Return a new index as the sum of an old index (either mFront or mRear) and a specified increment.
90 int32_t front = android_atomic_acquire_load(&fifo->mFront);
123 int32_t front = fifo->mFront;
143 android_atomic_release_store(audio_utils_fifo_sum(fifo, fifo->mFront, availToRead),
144 &fifo->mFront);
151 int32_t front = fifo->mFront;
H A Dfifo.h42 volatile int32_t mFront; // frame index of first frame slot available to read, or read index member in struct:audio_utils_fifo

Completed in 170 milliseconds