Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/
DGlitchAnalyzer.h175 mInputPhase = 0.0; // prevent spike at start in processInputFrame()
196 mSinAccumulator += sample * sinf(mInputPhase); in processInputFrame()
197 mCosAccumulator += sample * cosf(mInputPhase); in processInputFrame()
211 mInputPhase += phaseOffset; in processInputFrame()
220 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame()
233 mSinAccumulator += sample * sinf(mInputPhase); in processInputFrame()
234 mCosAccumulator += sample * cosf(mInputPhase); in processInputFrame()
265 double predicted = sinf(mInputPhase) * mMagnitude; in processInputFrame()
295 mInputPhase += mPhaseIncrement; in incrementInputPhase()
296 if (mInputPhase > M_PI) { in incrementInputPhase()
[all …]