Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/testlibs/
DAudioShelvingFilter.cpp70 void AudioShelvingFilter::setFrequency(uint32_t millihertz) { in setFrequency() argument
71 mNominalFrequency = millihertz; in setFrequency()
72 if (CC_UNLIKELY(millihertz > mNiquistFreq / 2)) { in setFrequency()
73 millihertz = mNiquistFreq / 2; in setFrequency()
76 (static_cast<uint64_t>(millihertz) * mFrequencyFactor) >> 10); in setFrequency()
DAudioPeakingFilter.cpp65 void AudioPeakingFilter::setFrequency(uint32_t millihertz) { in setFrequency() argument
66 mNominalFrequency = millihertz; in setFrequency()
67 if (CC_UNLIKELY(millihertz > mNiquistFreq / 2)) { in setFrequency()
68 millihertz = mNiquistFreq / 2; in setFrequency()
71 (static_cast<uint64_t>(millihertz) * mFrequencyFactor) >> 10); in setFrequency()
DAudioEqualizer.cpp118 void AudioEqualizer::setFrequency(int band, uint32_t millihertz) { in setFrequency() argument
120 millihertz); in setFrequency()
123 mpLowShelf->setFrequency(millihertz); in setFrequency()
125 mpHighShelf->setFrequency(millihertz); in setFrequency()
127 mpPeakingFilters[band - 1].setFrequency(millihertz); in setFrequency()
DAudioShelvingFilter.h80 void setFrequency(uint32_t millihertz);
DAudioPeakingFilter.h81 void setFrequency(uint32_t millihertz);
DAudioEqualizer.h122 void setFrequency(int band, uint32_t millihertz);