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

◆ rms()

float fl::audio::Sample::rms ( ) const

Definition at line 145 of file audio.cpp.hpp.

145 {
146 if (!isValid()) {
147 return 0.0f;
148 }
149 return mImpl->rms();
150}
bool isValid() const FL_NO_EXCEPT
Definition audio.h:35
SampleImplPtr mImpl
Definition audio.h:62

References fl::FL_NO_EXCEPT, isValid(), and mImpl.

Referenced by fl::audio::Reactive::processSample().

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