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 116 of file audio.h.

116 {
117 mSignedPcm.assign(begin, end);
119 // calculate zero crossings
121 }
fl::u32 mTimestamp
Definition audio.h:166
fl::u32 timestamp() const
Definition audio.h:123
void initZeroCrossings()
Definition audio.h:150
VectorPCM mSignedPcm
Definition audio.h:164
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: