playraw.h
346 Bytes
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
/* Function prototypes */
int initaudio(int nchannels, int fs);
void clearaudio(void);
void writeout(FILE *outfd, int size, int *l_out, int *r_out, int chans);
int getstereodata(FILE *bin, int eof, int size, int *rp, int *lp);
int getmonodata(FILE *bin, int eof, int size, int *mp);