sdk-ameba-v4.0c_180328/component/common/example/audio/wav.h

22 lines
431 B
C
Raw Permalink Normal View History

2019-04-02 08:34:25 +00:00
#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