32 #define NOCOMPLAIN (16) 45 extern FILE *
in, *
out;
53 #define DEFAULTFREQ 44100 54 #define BUFFSIZE 50000 55 #define MINBUFFSIZE 5000 215 extern int parseswitch(
char *found,
char *wanted);
248 extern void parseargs(
int argcount,
char *
args[],
int fileswitch);
267 extern int workloop( FILE *theinfile, FILE *theoutfile,
268 int (*work)(
short *buffer,
int length) );
284 extern int say(
const char *
format, ...);
void fatalerror(const char *format,...)
int parseswitcharg(int argcount, char *args[], char *string)
char * parsefilearg(int argcount, char *args[])
int error(const char *format,...)
double double2db(double value)
unsigned short samplewidth
void startstopwatch(void)
int parseswitch(char *found, char *wanted)
int parsevolarg(int argcount, char *args[], char *string, double *result)
void readpkheader(FILE *anyin)
void argerrortxt(char *s, char *message)
int workloop(FILE *theinfile, FILE *theoutfile, int(*work)(short *buffer, int length))
char * malloccopy(char *string)
int findoption(int argcount, char *args[], char *s)
int chat(const char *format,...)
int getremainingfilelength(FILE *anyin, long *result)
int parsevolume(char *s, double *result)
int parsetime(char *string, int *result)
void fatalperror(const char *string)
void argerrornum(char *s, Errornum code)
int parsedoublearg(int argcount, char *args[], char *string, double *result)
int parsetimearg(int argcount, char *args[], char *string, int *result)
int inform(const char *format,...)
void parseargs(int argcount, char *args[], int fileswitch)
void readwavheader(FILE *anyin)
int isoptionchar(char coal)
int say(const char *format,...)
char * mallocconcat(char *one, char *two)
static snd_pcm_format_t format
void readawaysamples(FILE *in, size_t size)
void checknoargs(int argcount, char *args[])
int parsefreq(char *string, double *result)
int parseintarg(int argcount, char *args[], char *string, int *result)