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

◆ rms()

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

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

140 {
141 if (!isValid()) {
142 return 0.0f;
143 }
144 return mImpl->rms();
145}
bool isValid() const FL_NOEXCEPT
Definition audio.h:35
SampleImplPtr mImpl
Definition audio.h:62

References 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: