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

Detailed Description

Definition at line 106 of file vorbis.cpp.hpp.

#include <vorbis.cpp.hpp>

+ Collaboration diagram for fl::VorbisDecoderImpl:

Public Member Functions

 VorbisDecoderImpl () FL_NOEXCEPT
 
 ~VorbisDecoderImpl () FL_NOEXCEPT
 
bool begin (fl::filebuf_ptr stream)
 
bool decodeNextFrame (audio::Sample *outSample)
 
void end ()
 
VorbisInfo getInfo () const
 
fl::size getPosition () const
 
bool hasError (fl::string *msg=nullptr) const
 
bool isReady () const
 
void reset ()
 

Private Attributes

StbVorbisDecoder mDecoder
 
bool mEndOfStream
 
fl::string mError
 
fl::vector< fl::u8mFileData
 
fl::vector< fl::i16 > mPcmBuffer
 
fl::size mPosition
 

Static Private Attributes

static constexpr fl::size FRAME_SIZE = 1024
 

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