home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
msdos
/
sndbords
/
proaudio
/
pcmtlsrc
/
pcmtlsrc.arj
/
LOADPCM.ARJ
/
SNDFILE.H
< prev
next >
Wrap
Text File
|
1992-07-29
|
1KB
|
50 lines
/*$Author: BCRANE $*/
/*$Date: 29 Jul 1992 16:58:08 $*/
/*$Header: W:/sccs/sdkapp/sndfile.h_v 1.0 29 Jul 1992 16:58:08 BCRANE $*/
/*$Log: W:/sccs/sdkapp/sndfile.h_v $
*
* Rev 1.0 29 Jul 1992 16:58:08 BCRANE
* Initial revision.
*/
/*$Logfile: W:/sccs/sdkapp/sndfile.h_v $*/
/*$Modtimes$*/
/*$Revision: 1.0 $*/
/*$Workfile: sndfile.h $*/
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
#define idequals(x,a,b,c,d) (x[0] == a && x[1] == b && x[2] == c && x[3] == d)
/* defined as the RIFF datatype and size element */
typedef struct chunk
{
char id[4];
long size;
} CHUNK;
/* defined as the 'fmt ' chunk in a .wav RIFF file */
typedef struct wavformat
{
uint fmttag;
uint channels;
ulong samplerate;
ulong bytespersec;
uint blockalign;
uint datasize;
} WF;
/* defined to simplify our file processing */
typedef struct buftable
{
uint fhidx;
long foffset;
long offset;
long size;
WF wf;
int history;
uint inpbtidx;
char name[16];
} BT;