arduino-audio-tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Member Functions | Protected Attributes | List of all members
HeaderParserAAC Class Reference

AAC header parser to check if the data is a valid ADTS aac which can extract some relevant audio information. More...

#include <HeaderParserAAC.h>

Public Member Functions

int findSyncWord (const uint8_t *buf, int nBytes, int start=0)
 Finds the mp3/aac sync word.
 
uint8_t getChannels ()
 
int getFrameLength ()
 Determines the frame length.
 
ADTSParser::ADTSHeader getHeader ()
 
int getSampleRate ()
 
bool isValid (const uint8_t *data, int len)
 

Protected Attributes

ADTSParser parser
 

Detailed Description

AAC header parser to check if the data is a valid ADTS aac which can extract some relevant audio information.

Author
Phil Schatzmann

Member Function Documentation

◆ isValid()

bool isValid ( const uint8_t *  data,
int  len 
)
inline

parses the header string and returns true if this is a valid aac adts stream


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