⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setup.c

📁 IP网络语音通讯软件源代码. 不可多得的语音源代码
💻 C
字号:
/***********************************************************************
*
*	SETUP Version 55 for Real Time Operation at multiple bit rates
*
*************************************************************************
*
*	Set processing options
*/

#include "lpcdefs.h"
#include "config.ch"
#include "common.h"
#include "contrl.ch"

setup(nargs, args)
int nargs;
char *args[];
{
char fname[80], fname2[80], line[80];
/* 
	Call to getcl() gets name of input and output file and message level.
Real time doesn't need messages about performance, etc, so those will be 
eliminated.
*/
if (nargs < 3) {
  printf("Usage: %s inputfile outputfile\n", args[0]);
  exit(1);
}
else {
  fdi = fopen(args[1], "rb");
  if(fdi==NULL) {
    printf("Problem opening [3] %s ... program exiting\n",args[1]);
    exit(1);
  }


  fdo = fopen(args[2], "w");
  if(fdo == NULL)	{
    printf("Problem opening [4] ... program exiting %s\n",args[2]);
    exit(1);
  }
}
}

⌨️ 快捷键说明

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