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

◆ assign()

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

Definition at line 109 of file audio.h.

109 {
110 mSignedPcm.assign(begin, end);
112 // calculate zero crossings
114 }
fl::u32 mTimestamp
Definition audio.h:152
fl::u32 timestamp() const
Definition audio.h:116
void initZeroCrossings()
Definition audio.h:136
VectorPCM mSignedPcm
Definition audio.h:150
constexpr T * begin(T(&array)[N]) noexcept
Definition range_access.h:9
constexpr T * end(T(&array)[N]) noexcept

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

+ Here is the call graph for this function: