rtgetin.C:	if (theInst->inputfd == AUDIO_DEVICE) {
rtgetin.C:	if (theInst->firsttime) {
rtgetin.C:		rtinfile = afOpenFile(theInst->rtsfname, "r", NULL);
rtgetin.C:			fprintf(stderr, "WARNING: could not re-open input file %s\n",theInst->rtsfname);
rtgetin.C:		fdesc = open(theInst->rtsfname, O_RDONLY);
rtgetin.C:		seeked = lseek(fdesc, theInst->seekbytes, SEEK_CUR);
rtgetin.C:		theInst->firsttime = 0;
rtsetinput.C:		theInst->inputsr = inSR;
rtsetinput.C:		theInst->inputchans = inNCHANS;
rtsetinput.C:		theInst->inputfd = AUDIO_DEVICE;
rtsetinput.C:	theInst->inputsr = inSR;
rtsetinput.C:	theInst->inputchans = inNCHANS;
rtsetinput.C:	theInst->firsttime = 1;
rtsetinput.C:	strcpy(theInst->rtsfname, rtsfname);
rtsetinput.C:	theInst->inputfd = afGetFD(rtinfile);
rtsetinput.C:	seekbytes = ((int)(start * inSR)) * theInst->inputchans * sizeof(short);
rtsetinput.C:	theInst->seekbytes = ((int)(start * inSR)) * theInst->inputchans * sizeof(short);
rtsetinput.C:	seeked = lseek(theInst->inputfd, seekbytes, SEEK_CUR);
rtsetinput.C:	theInst->inputfd = dup(theInst->inputfd);
rtsetoutput.C:	theInst->start = start;
rtsetoutput.C:	theInst->dur = dur;
rtsetoutput.C:	theInst->nsamps = dur * SR;
rtsetoutput.C:	return(theInst->nsamps);
