arduino-audio-tools
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WavIMAHeader Class Reference

Public Member Functions

WavIMAAudioInfoaudioInfo ()
 
void clearHeader ()
 
bool isDataComplete ()
 Returns true if the header is complete (data chunk has been found)
 
chunk_result parseChunk ()
 
int write (uint8_t *data, size_t data_len)
 

Protected Member Functions

int getChar ()
 
void logInfo ()
 
uint16_t read_int16 ()
 
uint32_t read_int32 ()
 
uint32_t read_tag ()
 
void skip (int n)
 

Protected Attributes

uint8_t chunk_buffer [28]
 
size_t chunk_len = 0
 
size_t data_pos = 0
 
bool header_complete = false
 
struct WavIMAAudioInfo headerInfo
 
bool isFirstChunk = true
 
size_t max_chunk_len = 8
 
size_t skip_len = 0
 

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