Searched refs:mCursor (Results 1 – 14 of 14) sorted by relevance
27 private int mCursor; field in CircularCaptureBuffer42 if ((mCursor + numSamples) > mData.length) { in write()44 int numWrite1 = mData.length - mCursor; in write()45 System.arraycopy(buffer, offset, mData, mCursor, numWrite1); in write()49 mCursor = numWrite2; in write()51 System.arraycopy(buffer, offset, mData, mCursor, numSamples); in write()52 mCursor += numSamples; in write()53 if (mCursor == mData.length) { in write()54 mCursor = 0; in write()80 int cursor = mCursor; // read once in case it gets updated by another thread in readMostRecent()[all …]
26 float *writeAddress = mDelayLine.get() + mCursor; in process()28 mDelayLine.get()[mCursor] = input; in process()30 int32_t readIndex = mCursor - delayInt; in process()37 mCursor++; in process()38 if (mCursor >= mDelaySize) { in process()39 mCursor = 0; in process()
43 int32_t mCursor = 0; variable
41 , mCursor(samplesPerPulse) { in ManchesterEncoder()59 return (mCursor < mSamplesPerPulseHalf) ? -1.0f : 1.0f; // one in nextFloat()61 return (mCursor < mSamplesPerPulseHalf) ? 1.0f : -1.0f; // zero in nextFloat()75 if (++mCursor >= mSamplesPerPulse) { in advanceSample()76 mCursor = 0; in advanceSample()93 int mCursor; variable
75 float output = mCurrentSamples[mCursor]; in nextFloat()
68 mX[mCursor] = input;70 int xIndex = mCursor + FILTER_TAP_NUM;76 if (++mCursor >= FILTER_TAP_NUM) {77 mCursor = 0;114 int32_t mCursor = 0;
30 if (--mCursor < 0) { in writeFrame()31 mCursor = getNumTaps() - 1; in writeFrame()33 float *dest = &mX[mCursor * MONO]; in writeFrame()48 float *xFrame = &mX[mCursor * MONO]; in readFrame()
30 if (--mCursor < 0) { in writeFrame()31 mCursor = getNumTaps() - 1; in writeFrame()33 float *dest = &mX[mCursor * STEREO]; in writeFrame()52 float *xFrame = &mX[mCursor * STEREO]; in readFrame()
32 if (--mCursor < 0) { in writeFrame()33 mCursor = getNumTaps() - 1; in writeFrame()35 float *dest = &mX[mCursor * STEREO]; in writeFrame()62 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
110 if (--mCursor < 0) { in writeFrame()111 mCursor = getNumTaps() - 1; in writeFrame()113 float *dest = &mX[mCursor * getChannelCount()]; in writeFrame()
45 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
58 float *xFrame = &mX[mCursor * getChannelCount()]; in readFrame()
249 int mCursor = 0; variable
176156 uint8_t mCursor; member