lav2wav.h

来自「Motion JPEG编解码器源代码」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef LAV2WAV_H#define LAV2WAV_H#define WAVE_FORMAT_PCM  0x0001#define FORMAT_MULAW     0x0101#define IBM_FORMAT_ALAW  0x0102#define IBM_FORMAT_ADPCM 0x0103struct riff_struct {  uint8_t id[4];   /* RIFF */  uint32_t len;  uint8_t wave_id[4]; /* WAVE */};struct chunk_struct {	uint8_t id[4];	uint32_t len;};struct common_struct {	uint16_t wFormatTag;	uint16_t wChannels;	uint32_t dwSamplesPerSec;	uint32_t dwAvgBytesPerSec;	uint16_t wBlockAlign;	uint16_t wBitsPerSample;  /* Only for PCM */};struct wave_header {	struct riff_struct   riff;	struct chunk_struct  format;	struct common_struct common;	struct chunk_struct  data;};#endif /* LAV2WAV_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?