FastLED 3.10.8
Loading...
Searching...
No Matches
fl::third_party::Mp3StreamDecoderImpl Class Reference

Detailed Description

Definition at line 267 of file mp3.cpp.hpp.

#include <mp3.cpp.hpp>

+ Collaboration diagram for fl::third_party::Mp3StreamDecoderImpl:

Public Member Functions

 Mp3StreamDecoderImpl () FL_NO_EXCEPT
 
 ~Mp3StreamDecoderImpl () FL_NO_EXCEPT
 
bool begin (fl::filebuf_ptr stream) FL_NO_EXCEPT
 
bool decodeNextFrame (audio::Sample *out_sample) FL_NO_EXCEPT
 
void end () FL_NO_EXCEPT
 
Mp3Info getInfo () const FL_NO_EXCEPT
 
fl::size getPosition () const FL_NO_EXCEPT
 
bool hasError (fl::string *msg=nullptr) const FL_NO_EXCEPT
 
bool isReady () const FL_NO_EXCEPT
 
void reset () FL_NO_EXCEPT
 

Private Member Functions

bool fillBuffer () FL_NO_EXCEPT
 
bool findAndDecodeFrame (audio::Sample *out_sample) FL_NO_EXCEPT
 
void resetVbrState () FL_NO_EXCEPT
 

Private Attributes

fl::unique_ptr< fl::u8[], Mp3MemoryDeleter< fl::u8 > > mBuffer
 
fl::size mBufferFilled
 
fl::size mBufferPos
 
fl::size mBytesProcessed
 
fl::unique_ptr< Mp3SelectedDecoder > mDecoder
 
bool mEndOfStream
 
fl::string mErrorMsg
 
bool mHasDecodedFirstFrame
 
bool mHasError
 
Mp3Info mInfo
 
bool mInspectedFirstFrame = false
 
fl::u32 mSkipSamples = 0
 
bool mSkipTagFrame = false
 
fl::filebuf_ptr mStream
 

Static Private Attributes

static constexpr fl::size BUFFER_SIZE = MP3_MINIMP3_STREAM_BUFFER_SIZE
 

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