Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/utils/
DSineGenerator.h30 mPhaseIncrement = frequency * M_PI * 2 / frameRate; in setup()
71 mPhase += mPhaseIncrement; in advancePhase()
77 mPhaseIncrement *= mUpScaler; in advancePhase()
78 if (mPhaseIncrement > mPhaseIncrementHigh) { in advancePhase()
82 mPhaseIncrement *= mDownScaler; in advancePhase()
83 if (mPhaseIncrement < mPhaseIncrementLow) { in advancePhase()
92 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.cpp531 mPhaseIncrement = static_cast<uint32_t>(static_cast<uint64_t>(phaseWrapLimit) in setSampleRate()
536 int locked = (mPhaseIncrement << (sizeof(mPhaseIncrement)*8 - c.mShift)) == 0; in setSampleRate()
633 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.cpp304 uint32_t phaseIncrement = mPhaseIncrement; in resample()
/frameworks/av/include/media/
DAudioResampler.h112 int32_t mPhaseIncrement; variable
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h112 int32_t mPhaseIncrement; variable
/frameworks/av/media/libaaudio/examples/loopback/src/
DLoopbackAnalyzer.h1019 mPhase += mPhaseIncrement; in process()
1042 mPhaseIncrement = 2.0 * M_PI / mSinePeriod; in reset()
1043 printf("phaseInc = %f for period %d\n", mPhaseIncrement, mSinePeriod); in reset()
1083 double mPhaseIncrement = 0.0; variable