sp; if(inputchar[i]==LEAVEWORD) dtmf=''0'';
filenamestr=GetFileName(dtmf,i);
strcpy(filename[i],filenamestr);
fail=TW_StartRecordFile( i , filename[i] , 0 , LONG_MAX);
if( fail==-1)
{
MessageBox("初始录音失败!","错误",MB_OK|MB_ICONSTOP);
strcpy(filename[i],welcomfile);
TW_StartPlayFile(i,filename[i],0,LONG_MAX);
TW_StartPlayFile (3, filename[i], 0 , LONG_MAX); //放音模块开始播放
CS[i]=WS_PLAY;
inputchar[i]=START;
}
else
CS[i]=WS_RECORD;