home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
3
/
3593
/
handlers.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-07
|
2KB
|
66 lines
/*
* July 5, 1991
* Copyright 1991 Lance Norskog And Sundry Contributors
* This source code is freely redistributable and may be used for
* any purpose. This copyright notice must be maintained.
* Lance Norskog And Sundry Contributors are not responsible for
* the consequences of using this software.
*/
#include "aux.h"
/*
* AUX tables.
*/
char *rawnames[] = {
"raw",
(char *) 0
};
extern rawstartread(), rawread(), rawstopread();
extern rawstartwrite(), rawwrite(), rawstopwrite();
char *vocnames[] = {
"voc",
(char *) 0
};
extern vocstartread(), vocread(), vocstopread();
extern vocstartwrite(), vocwrite(), vocstopwrite();
char *aunames[] = {
"au",
(char *) 0
};
extern austartread(), auread(), austopread();
extern austartwrite(), auwrite(), austopwrite();
char *sbnames[] = {
"sb",
(char *) 0
};
extern sbstartread();
extern sbstartwrite();
char *sfnames[] = {
"sf",
(char *) 0
};
extern sfstartread();
extern sfstartwrite();
int nothing() {;}
struct handler handlers[] = {
{rawnames, rawstartread, rawread, nothing, /* Raw format */
rawstartwrite, rawwrite, nothing},
{vocnames, vocstartread, vocread, vocstopread, /* Sound Blaster .VOC */
vocstartwrite, vocwrite, vocstopwrite},
{aunames, austartread, nothing, nothing, /* SPARC .AU */
austartwrite, nothing, nothing}, /* Relies on raw */
{sbnames, sbstartread, nothing, nothing, /* Sound Blaster raw */
sbstartwrite, nothing, nothing}, /* Relies on raw */
{sfnames, sfstartread, nothing, nothing, /* IRCAM Sound File */
sfstartwrite, nothing, nothing}, /* Relies on raw */
0
};