FastLED 3.9.15
Loading...
Searching...
No Matches

◆ rms()

float fl::audio::SampleImpl::rms ( ) const
inline

Definition at line 160 of file audio.h.

160 {
161 if (!mRmsComputed) {
162 const_cast<SampleImpl*>(this)->initRms();
163 const_cast<SampleImpl*>(this)->mRmsComputed = true;
164 }
165 return mRms;
166 }
void initRms() FL_NOEXCEPT
Definition audio.h:183

References FL_NOEXCEPT, initRms(), mRms, and mRmsComputed.

+ Here is the call graph for this function: