Searched refs:kTwoPi (Results 1 – 3 of 3) sorted by relevance
31 if (mPhase >= kTwoPi) mPhase -= kTwoPi; in incrementPhase()38 static constexpr float kTwoPi = M_PI * 2; variable39 const float kDelta = kTwoPi * f / fs;
31 constexpr double kTwoPi = kPi * 2; variable74 if (mPhase > kTwoPi) mPhase -= kTwoPi; in renderAudio()90 mPhaseIncrement.store((kTwoPi * mFrequency) / static_cast<double>(mSampleRate)); in updatePhaseIncrement()
295 if (mPhase >= kTwoPi) mPhase -= kTwoPi;311 static float constexpr kTwoPi = kPI * 2;312 static double constexpr mPhaseIncrement = kFrequency * kTwoPi / (double) kSampleRate;