|
arduino-audio-tools
|
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 |
AAC header parser to check if the data is a valid ADTS aac which can extract some relevant audio information.
|
inline |
parses the header string and returns true if this is a valid aac adts stream