Parser for Wav header data for details see https://de.wikipedia.org/wiki/RIFF_WAVE.
More...
#include <CodecWAV.h>
|
WAVAudioInfo & | audioInfo () |
| provides the info from the header
|
|
size_t | available () |
| number of bytes available in the header buffer
|
|
void | clear () |
| Reset internal stored header information and buffer.
|
|
void | dumpHeader () |
| Debug helper: dumps header bytes as printable characters.
|
|
int | getDataPos () |
| Determines the data start position using the data tag.
|
|
bool | isDataComplete () |
| Returns true if the header is complete (containd data tag)
|
|
bool | parse () |
| Call begin when header data is complete to parse the data.
|
|
void | setAudioInfo (WAVAudioInfo info) |
| Sets the info in the header.
|
|
int | write (uint8_t *data, size_t data_len) |
|
int | writeHeader (Print *out) |
| Just write a wav header to the indicated outputbu.
|
|
|
bool | eof () |
|
int | getChar () |
|
uint32_t | getChar32 () |
|
int | indexOf (const char *str) |
|
void | logInfo () |
|
uint16_t | read_int16 () |
|
uint32_t | read_int32 () |
|
uint32_t | read_tag () |
|
void | seek (long int offset, int origin) |
|
bool | setPos (const char *id) |
|
void | skip (int n) |
|
size_t | tell () |
|
void | write16 (BaseBuffer< uint8_t > &buffer, uint16_t value) |
|
void | write32 (BaseBuffer< uint8_t > &buffer, uint64_t value) |
|
void | writeDataHeader (BaseBuffer< uint8_t > &buffer) |
|
void | writeFMT (BaseBuffer< uint8_t > &buffer) |
|
void | writeRiffHeader (BaseBuffer< uint8_t > &buffer) |
|
Parser for Wav header data for details see https://de.wikipedia.org/wiki/RIFF_WAVE.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ write()
int write |
( |
uint8_t * |
data, |
|
|
size_t |
data_len |
|
) |
| |
|
inline |
Adds data to the 44 byte wav header data buffer and make it available for parsing
The documentation for this class was generated from the following file: