Home
last modified time | relevance | path

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

/external/oboe/apps/fxlab/app/src/main/cpp/effects/utils/
DPhaseAccumulator.h31 if (mPhase >= kTwoPi) mPhase -= kTwoPi; in incrementPhase()
38 static constexpr float kTwoPi = M_PI * 2; variable
39 const float kDelta = kTwoPi * f / fs;
/external/oboe/samples/shared/
DOscillator.h31 constexpr double kTwoPi = kPi * 2; variable
74 if (mPhase > kTwoPi) mPhase -= kTwoPi; in renderAudio()
90 mPhaseIncrement.store((kTwoPi * mFrequency) / static_cast<double>(mSampleRate)); in updatePhaseIncrement()
/external/oboe/docs/
DGettingStarted.md295 if (mPhase >= kTwoPi) mPhase -= kTwoPi;
311 static float constexpr kTwoPi = kPI * 2;
312 static double constexpr mPhaseIncrement = kFrequency * kTwoPi / (double) kSampleRate;