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

◆ assign()

template<typename It>
void fl::audio::SampleImpl::assign ( It begin,
It end,
fl::u32 timestamp )
inline

Definition at line 119 of file audio.h.

119 {
120 mSignedPcm.assign(begin, end);
122 // Pre-compute zero crossings for O(1) access
124 // RMS is computed lazily on first access to avoid blocking
125 mRmsComputed = false;
126 }
void initZeroCrossings() FL_NO_EXCEPT
Definition audio.h:170
VectorPCM mSignedPcm
Definition audio.h:198
fl::u32 timestamp() const FL_NO_EXCEPT
Definition audio.h:130
constexpr T * begin(T(&array)[N]) FL_NO_EXCEPT

References fl::adl_barrier::begin(), fl::adl_barrier::end(), fl::FL_NO_EXCEPT, initZeroCrossings(), mRmsComputed, mSignedPcm, mTimestamp, and timestamp().

+ Here is the call graph for this function: