FastLED 3.9.15
Loading...
Searching...
No Matches
fl::AudioBatch Class Reference

Detailed Description

Definition at line 66 of file audio_batch.h.

#include <audio_batch.h>

+ Collaboration diagram for fl::AudioBatch:

Public Member Functions

 AudioBatch () FL_NOEXCEPT=default
 
 AudioBatch (const AudioBatch &) FL_NOEXCEPT=delete
 
 AudioBatch (fl::span< const AudioFrame > frames, audio::Processor *proc=nullptr)
 
float bass () const
 
bool beat () const
 
const AudioFramebegin () const
 
bool empty () const
 
const AudioFrameend () const
 
const EqLevelsequalizer () const
 
fl::size frameCount () const
 
fl::span< const AudioFrameframes () const
 
bool hasProcessor () const
 
float mid () const
 
AudioBatchoperator= (const AudioBatch &) FL_NOEXCEPT=delete
 
const PercussionStatepercussion () const
 
float treble () const
 
const VibeLevelsvibe () const
 
float volume () const
 

Private Member Functions

void ensurePeaks () const
 

Private Attributes

EqLevels mEq
 
bool mEqComputed = false
 
fl::span< const AudioFramemFrames
 
fl::mutex mMutex
 
AudioFrame mPeaks
 
bool mPeaksComputed = false
 
PercussionState mPerc
 
bool mPercComputed = false
 
audio::ProcessormProc = nullptr
 
VibeLevels mVibe
 
bool mVibeComputed = false
 

The documentation for this class was generated from the following files: