Home
last modified time | relevance | path

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

/frameworks/base/media/libeffects/testlibs/
DAudioShelvingFilter.cpp72 void AudioShelvingFilter::setFrequency(uint32_t millihertz) { in setFrequency() argument
73 mNominalFrequency = millihertz; in setFrequency()
74 if (UNLIKELY(millihertz > mNiquistFreq / 2)) { in setFrequency()
75 millihertz = mNiquistFreq / 2; in setFrequency()
78 (static_cast<uint64_t>(millihertz) * mFrequencyFactor) >> 10); in setFrequency()
DAudioPeakingFilter.cpp67 void AudioPeakingFilter::setFrequency(uint32_t millihertz) { in setFrequency() argument
68 mNominalFrequency = millihertz; in setFrequency()
69 if (UNLIKELY(millihertz > mNiquistFreq / 2)) { in setFrequency()
70 millihertz = mNiquistFreq / 2; in setFrequency()
73 (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);