arduino-audio-tools
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
audio_tools::AACDecoderHelix Class Reference

AAC Decoder using libhelix: https://github.com/pschatzmann/arduino-libhelix This is basically just a simple wrapper to provide AudioBaseInfo and AudioBaseInfoDependent. More...

#include <CodecAACHelix.h>

Inheritance diagram for audio_tools::AACDecoderHelix:
audio_tools::AudioDecoder audio_tools::AudioWriter audio_tools::AudioBaseInfoSource

Public Member Functions

 AACDecoderHelix (Print &out_stream)
 Construct a new AACDecoderMini object. More...
 
 AACDecoderHelix (Print &out_stream, AudioBaseInfoDependent &bi)
 Construct a new AACDecoderMini object. The decoded output will go to the print object. More...
 
 ~AACDecoderHelix ()
 Destroy the AACDecoderMini object.
 
virtual AudioBaseInfo audioInfo ()
 
virtual _AACFrameInfo audioInfoEx ()
 
void begin ()
 Starts the processing.
 
virtual void end ()
 Releases the reserved memory.
 
void flush ()
 
virtual operator bool ()
 checks if the class is active
 
virtual void setNotifyAudioChange (AudioBaseInfoDependent &bi)
 Defines the callback object to which the Audio information change is provided.
 
virtual void setOutputStream (Print &out_stream)
 Defines the output Stream.
 
size_t write (const void *aac_data, size_t len)
 Write AAC data to decoder.
 
- Public Member Functions inherited from audio_tools::AudioDecoder
virtual bool isResultPCM ()
 
virtual void setAudioInfo (AudioBaseInfo from) override
 
virtual void setOutputStream (AudioPrint &out_stream)
 
virtual void setOutputStream (AudioStream &out_stream)
 

Static Public Member Functions

static void infoCallback (_AACFrameInfo &i)
 notifies the subscriber about a change
 

Protected Attributes

libhelix::AACDecoderHelix * aac =nullptr
 

Detailed Description

AAC Decoder using libhelix: https://github.com/pschatzmann/arduino-libhelix This is basically just a simple wrapper to provide AudioBaseInfo and AudioBaseInfoDependent.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ AACDecoderHelix() [1/2]

audio_tools::AACDecoderHelix::AACDecoderHelix ( Print out_stream)
inline

Construct a new AACDecoderMini object.

Parameters
out_stream

◆ AACDecoderHelix() [2/2]

audio_tools::AACDecoderHelix::AACDecoderHelix ( Print out_stream,
AudioBaseInfoDependent bi 
)
inline

Construct a new AACDecoderMini object. The decoded output will go to the print object.

Parameters
out_stream
bi

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