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

◆ pcm()

const AudioSample::VectorPCM & fl::AudioSample::pcm ( ) const

Definition at line 62 of file audio.cpp.

62 {
63 if (isValid()) {
64 return mImpl->pcm();
65 }
66 static VectorPCM empty;
67 return empty;
68}
AudioSampleImplPtr mImpl
Definition audio.h:59
fl::vector< fl::i16 > VectorPCM
Definition audio.h:24
bool isValid() const
Definition audio.h:36
static const VectorPCM & empty()
Definition audio.cpp:113

References empty(), isValid(), and mImpl.

Referenced by at(), begin(), end(), fft(), loop(), fl::AudioReactive::processFFT(), rms(), fl::FFTImpl::run(), and fl::AudioReactive::updateVolumeAndPeak().

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