Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/utils/
DSineGenerator.h30 mPhaseIncrement = frequency * M_PI * 2 / frameRate; in setup()
105 mPhase += mPhaseIncrement; in advancePhase()
111 mPhaseIncrement *= mUpScaler; in advancePhase()
112 if (mPhaseIncrement > mPhaseIncrementHigh) { in advancePhase()
116 mPhaseIncrement *= mDownScaler; in advancePhase()
117 if (mPhaseIncrement < mPhaseIncrementLow) { in advancePhase()
126 double mPhaseIncrement = 440 * M_PI * 2 / 48000; variable
/frameworks/av/media/libaudioprocessing/
DAudioResamplerCubic.cpp61 uint32_t phaseIncrement = mPhaseIncrement; in resampleStereo16()
128 uint32_t phaseIncrement = mPhaseIncrement; in resampleMono16()
DAudioResamplerDyn.cpp530 mPhaseIncrement = static_cast<uint32_t>(static_cast<uint64_t>(phaseWrapLimit) in setSampleRate()
535 int locked = (mPhaseIncrement << (sizeof(mPhaseIncrement)*8 - c.mShift)) == 0; in setSampleRate()
644 const uint32_t phaseIncrement = mPhaseIncrement; in resample()
DAudioResampler.cpp300 mPhaseIncrement = (uint32_t)((kPhaseMultiplier * inSampleRate) / mSampleRate); in setSampleRate()
345 uint32_t phaseIncrement = mPhaseIncrement; in resampleStereo16()
443 uint32_t phaseIncrement = mPhaseIncrement; in resampleMono16()
DAudioResamplerSinc.cpp303 uint32_t phaseIncrement = mPhaseIncrement; in resample()
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h112 int32_t mPhaseIncrement; variable