29class VorbisDecoderImpl;
65 bool seek(fl::u32 sampleNumber);
96 bool hasError(
fl::
string* msg =
nullptr) const;
fl::i32 getSamplesFloat(fl::i32 channels, float **buffer, fl::i32 numSamples)
fl::u32 getTotalSamples() const
StbVorbisDecoder() FL_NOEXCEPT
~StbVorbisDecoder() FL_NOEXCEPT
bool openMemory(fl::span< const fl::u8 > data)
fl::u32 getSampleOffset() const
VorbisInfo getInfo() const
bool seek(fl::u32 sampleNumber)
fl::i32 getSamplesShortInterleaved(fl::i32 channels, fl::i16 *buffer, fl::i32 numShorts)
static VorbisInfo parseVorbisInfo(fl::span< const fl::u8 > data, fl::string *errorMessage=nullptr)
static bool isSupported()
static fl::vector< audio::Sample > decodeAll(fl::span< const fl::u8 > data, fl::string *errorMessage=nullptr)
static VorbisDecoderPtr createDecoder(fl::string *errorMessage=nullptr)
~VorbisDecoder() FL_NOEXCEPT
bool hasError(fl::string *msg=nullptr) const
VorbisDecoder() FL_NOEXCEPT
bool begin(fl::filebuf_ptr stream)
VorbisInfo getInfo() const
fl::unique_ptr< VorbisDecoderImpl > mImpl
fl::size getPosition() const
bool decodeNextFrame(audio::Sample *outSample)
fl::shared_ptr< filebuf > filebuf_ptr
FASTLED_SHARED_PTR(Channel)
Base definition for an LED controller.
VorbisInfo() FL_NOEXCEPT=default