sdk-ameba-v4.0c_180328/component/common/example/audio/wav.h
2019-04-02 16:34:25 +08:00

21 lines
431 B
C
Executable file

#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