adpcm.h

来自「本程序是在TI公司的DM642上实现ADPCM编码和解码的程序」· C头文件 代码 · 共 23 行

H
23
字号

/*
 *  ======== adpcm.h ========
 *
 *  Header file for adpcm.c
 *  
 */
 
#ifndef ADPCM_H
#define ADPCM_H


typedef struct  
{ 
  short	valprev;	/* Previous output value */
  char	index;		/* Index into stepsize table */
}adpcm_state;

extern void adpcm_encoder(short *indata, char *outdata, short len, adpcm_state *state);
extern void adpcm_decoder(char *indata, short *outdata, short len, adpcm_state *state);

#endif 

⌨️ 快捷键说明

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