arduino-audio-tools
Public Member Functions | Public Attributes | List of all members
ADTSParser Struct Reference

Public Member Functions

bool begin ()
 
int findSynchWord (unsigned char *buf, int nBytes, int start=0)
 
bool isSyncWord (uint8_t *buf)
 
void log ()
 
bool parse (uint8_t *hdr)
 
int rate ()
 
unsigned int size ()
 

Public Attributes

uint8_t adts_buf_fullness
 
const int adtsSamplingRates [13]
 
uint8_t channel_cfg
 
uint8_t copyright_id_bit
 
uint8_t copyright_id_start
 
uint16_t frame_length
 
uint8_t home
 
uint8_t id
 
bool is_valid = false
 
uint8_t layer
 
uint8_t num_rawdata_blocks
 
uint8_t original_copy
 
uint8_t private_bit
 
uint8_t profile
 
uint8_t protection_absent
 
uint32_t quick_check = 0
 
uint8_t sampling_freq_idx
 
uint16_t syncword
 

Member Data Documentation

◆ adtsSamplingRates

const int adtsSamplingRates[13]
Initial value:
= {96000, 88200, 64000, 48000, 44100,
32000, 24000, 22050, 16000, 12000,
11025, 8000, 7350}

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