/**************************************************************************** | Digital Audio Processor | ======================= | | Filename : wav.h | | Object : None | | Description : Audiofile replacement code for linux (wav files) | | (c) Richard Kent 1998 | | $Id: wav.h,v 1.1 2003/09/10 00:06:24 rk Exp $ | ****************************************************************************/ #ifndef _wav_h #define _wav_h #include "macros.h" #ifdef __cplusplus extern "C" { #endif #define WAVE_FORMAT_PCM 0x0001 #define IBM_FORMAT_MULAW 0x0101 #define IBM_FORMAT_ALAW 0x0102 #define IBM_FORMAT_ADPCM 0x0103 void AFbasicWAV (int set); AFfilehandle AFreadWAV (FHandle file); AFfilehandle AFwriteWAV (FHandle file,AFfilesetup setup); int AFclosefileWAV (AFfilehandle handle); int AFreadframesWAV (AFfilehandle handle,void *frames,int count); int AFwriteframesWAV (AFfilehandle handle,void *frames,int count); #ifdef __cplusplus } #endif #endif // _wav_h /***************************************************************************/