This is snd.h in view mode; [Download] [Up]
#define SF_NOFILE -1
#define SF_NOTSHORT -2
#define SF_NOMEMORY -3
#define SF_NOREOPEN -4
#define SF_BADREAD -5
#define SF_BADPTR 1
#define SF_FACTOR 0x7fff
#include <stdio.h>
struct sndesc {
FILE *fp; /* open pointer to file */
int headsize; /* Header size */
int nc; /* Number of channels */
int fs; /* file size in samples */
float sr; /* Sample rate */
int index; /* Current sample index */
float sample; /* Current sample value */
};
extern int sferror;
struct sndesc *opensf();
float fsndi();
void closesf();
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.