|
FastLED 3.9.15
|
#include <audio.h>
Public Types | |
| using | const_iterator = VectorPCM::const_iterator |
| using | VectorPCM = fl::vector<fl::i16> |
Public Member Functions | |
| Sample () FL_NOEXCEPT | |
| Sample (const Sample &other) FL_NOEXCEPT | |
| Sample (fl::span< const fl::i16 > span, fl::u32 timestamp=0) FL_NOEXCEPT | |
| Sample (SampleImplPtr impl) FL_NOEXCEPT | |
| ~Sample () FL_NOEXCEPT | |
| void | applyGain (float gain) FL_NOEXCEPT |
| Apply a digital gain multiplier to all PCM samples in-place. | |
| const fl::i16 & | at (fl::size i) const FL_NOEXCEPT |
| const_iterator | begin () const FL_NOEXCEPT |
| const_iterator | end () const FL_NOEXCEPT |
| void | fft (fft::Bins *out) const FL_NOEXCEPT |
| bool | isValid () const FL_NOEXCEPT |
| operator bool () const FL_NOEXCEPT | |
| bool | operator!= (const Sample &other) const FL_NOEXCEPT |
| Sample & | operator= (const Sample &other) FL_NOEXCEPT |
| bool | operator== (const Sample &other) const FL_NOEXCEPT |
| const fl::i16 & | operator[] (fl::size i) const FL_NOEXCEPT |
| const VectorPCM & | pcm () const FL_NOEXCEPT |
| float | rms () const FL_NOEXCEPT |
| fl::size | size () const FL_NOEXCEPT |
| fl::u32 | timestamp () const FL_NOEXCEPT |
| float | zcf () const FL_NOEXCEPT |
Static Private Member Functions | |
| static const VectorPCM & | empty () FL_NOEXCEPT |
Private Attributes | |
| SampleImplPtr | mImpl |