/***
 * CopyPolicy: GNU Public License 2 applies
 * Copyright (C) by Heiko Eissfeldt
 *
 * prototypes from cdda2wav.c
 */
#define max(a,b) ((a) > (b) ? (a) : (b))
#define min(a,b) ((a) < (b) ? (a) : (b))


/* verbose levels */
#define SHOW_TOC	1
#define SHOW_SUMMARY	2
#define SHOW_INDICES	4
#define SHOW_MCN	8
#define SHOW_ISRC	16
#define SHOW_STARTPOSITIONS	32
#define SHOW_TITLES	64
#define SHOW_JUSTAUDIOTRACKS	128
#define SHOW_MAX	255

/* Endianess */
#define GUESS (-2)
#define NONE (-1)
#define LITTLE 0
#define BIG 1

void FatalError (const char *szMessage, ...);
void AnalyzeQchannel ( unsigned frame );
long SamplesNeeded( long amount, long undersampling);

