FastLED 3.10.8
Loading...
Searching...
No Matches

◆ setNormFactors()

void fl::audio::fft::Bins::setNormFactors ( const fl::vector< float > & factors)
private

Definition at line 157 of file fft.cpp.hpp.

157 {
158 if (mNormFactors.capacity() == 0) {
160 }
161 mNormFactors.resize(factors.size());
162 for (fl::size i = 0; i < factors.size(); ++i) {
163 mNormFactors[i] = factors[i];
164 }
165 mNormalizedDirty = true;
166}
static FloatVectorPool & pool() FL_NO_EXCEPT
Definition fft.cpp.hpp:168
fl::vector< float > mNormFactors
Definition fft.h:112
fl::size mBands
Definition fft.h:109
bool mNormalizedDirty
Definition fft.h:116
fl::vector< float > acquire(fl::size capacity) FL_NO_EXCEPT
Definition fft.cpp.hpp:20
fl::size size() const FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, mBands, mNormalizedDirty, mNormFactors, and pool().

Referenced by operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: