| librfn
    An ad-hoc utility library | 
Go to the source code of this file.
| Macros | |
| #define | C(x) case RF_WAVHEADER_##x: return #x | 
| Functions | |
| int | rf_wavheader_decode (const uint8_t *p, unsigned int sz, rf_wavheader_t *wh) | 
| int | rf_wavheader_encode (rf_wavheader_t *wh, uint8_t *p, unsigned int sz) | 
| rf_wavheader_format_t | rf_wavheader_get_format (rf_wavheader_t *wh) | 
| void | rf_wavheader_init (rf_wavheader_t *wh, int sfreq, int num_channels, rf_wavheader_format_t format) | 
| void | rf_wavheader_set_num_frames (rf_wavheader_t *wh, unsigned int num_frames) | 
| char * | rf_wavheader_tostring (rf_wavheader_t *wh) | 
| int | rf_wavheader_validate (rf_wavheader_t *wh) | 
| Variables | |
| const uint8_t | null_id [] = { 0, 0, 0, 0 } | 
| const uint8_t | riff [] = { 'R', 'I', 'F', 'F' } | 
| const uint8_t | wave [] = { 'W', 'A', 'V', 'E' } | 
| const uint8_t | fmt [] = { 'f' , 'm', 't', ' ' } | 
| const uint8_t | fact [] = { 'f', 'a', 'c', 't' } | 
| const uint8_t | data [] = { 'd', 'a', 't', 'a' } | 
| #define C | ( | x | ) | case RF_WAVHEADER_##x: return #x | 
Definition at line 26 of file wavheader.c.
Definition at line 25 of file wavheader.c.
| const uint8_t fmt[] = { 'f' , 'm', 't', ' ' } | 
Definition at line 24 of file wavheader.c.
| const uint8_t null_id[] = { 0, 0, 0, 0 } | 
Definition at line 21 of file wavheader.c.
| const uint8_t riff[] = { 'R', 'I', 'F', 'F' } | 
Definition at line 22 of file wavheader.c.
| const uint8_t wave[] = { 'W', 'A', 'V', 'E' } | 
Definition at line 23 of file wavheader.c.
 1.8.10
 1.8.10