|
FastLED 3.9.15
|
| void fl::audio::Processor::setSampleRate | ( | int | sampleRate | ) |
Set the sample rate for all frequency-based calculations.
This propagates to Context and all detector. Default is 44100 Hz. Common values: 16000, 22050, 44100.
Definition at line 722 of file audio_processor.cpp.hpp.
References mActiveDetectors, mContext, mSampleRate, and setSampleRate().
Referenced by onDropImpact(), and setSampleRate().
Here is the call graph for this function:
Here is the caller graph for this function: