mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2026-07-05 11:05:45 +00:00
first add sdk
This commit is contained in:
commit
f91efd1250
3915 changed files with 1291882 additions and 0 deletions
21
component/common/example/audio/wav.h
Executable file
21
component/common/example/audio/wav.h
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue