Displaying 1 result from an estimated 1 matches for "bufferfill".
2000 Apr 16
0
Trying to get cmdline going...
...utility compile?" yet again. I have been doing some
fiddling with it and found a few thinkos to fix, but some of the more
esoteric getopt() things are stumping me.
Ferinstance, it seems that
< device=strdup(optarg);
ought to be
> device=optarg;
and
< if((ret=CheckWav(infile,bufferfill,&intype))){
probably should be
> if((ret=CheckWav(inbuffer,bufferfill,&intype))){
and I've faked up a fill_buffer routine:
> int fill_buffer(FILE *infile, char *inbuffer, int bufferfill, int
insize)
> {
> return fread(inbuffer, sizeof(char), insize, infile);
> }...