mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2024-12-01 02:30:32 +00:00
22 lines
431 B
C
22 lines
431 B
C
|
#ifndef _WAV_H_
|
||
|
#define _WAV_H_
|
||
|
|
||
|
typedef struct {
|
||
|
char chunk_id[4];
|
||
|
uint32_t chunk_size;
|
||
|
char format[4];
|
||
|
char fmtchunk_id[4];
|
||
|
uint32_t fmtchunk_size;
|
||
|
uint16_t audio_format;
|
||
|
uint16_t num_channels;
|
||
|
uint32_t sample_rate;
|
||
|
uint32_t byte_rate;
|
||
|
uint16_t block_align;
|
||
|
uint16_t bps;
|
||
|
char datachunk_id[4];
|
||
|
uint32_t datachunk_size;
|
||
|
}WavHeader;
|
||
|
|
||
|
|
||
|
#endif
|