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

◆ pcm()

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

Definition at line 17 of file audio.cpp.

17 {
18 if (isValid()) {
19 return mImpl->pcm();
20 }
21 static VectorPCM empty;
22 return empty;
23}
AudioSampleImplPtr mImpl
Definition audio.h:52
fl::vector< fl::i16 > VectorPCM
Definition audio.h:23
bool isValid() const
Definition audio.h:29
static const VectorPCM & empty()
Definition audio.cpp:68

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: