cli.h

来自「4.8k/s速率FS1016标准语音压缩源码」· C头文件 代码 · 共 46 行

H
46
字号
#define ALL_VALID	9090#define	INVALID		8080#define	HELP		7070typedef struct	{/*  All the variables that can be changed from the command line  */int		analysis;		/*  Analysis execution flag */char		*bit_error;		/*  Name of bit error pattern file */char		*chan_file;		/*  Name of channel file */int		channel_type;		/*  Type of channel to use */int		code_param;		/*  Encode/Decode parameters flag */int		edac;			/*  EDAC flag */char		*error_parms;		/*  Name of error parameter file */float		error_rate;		/*  Error rate for random error channel */int		read_chan;		/*  Channel file read flag */int		smoothing;		/*  Smoothing of codebook parameters */int		synthesis;		/*  Synthesis execution flag */int		write_chan;		/*  Channel file write flag */} CLI;int cli(int	argc, char	*argv[], CLI	*UserParams, char	**infile, 		char	**outfile);		int Setup(int	argc,char	*argv[],CLI	*UserParams,FILE	**fp_ifile, FILE	**fp_ofile, FILE	**chan_ofp); void wrapup(FILE	*fp_ifile, FILE	*fp_ofile,
FILE	*ch_ofile);

⌨️ 快捷键说明

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