home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************/
- /* wave.h */
- /* -- Interface to simple tone generation function. */
- /*****************************************************/
- void CloseSnd(void);
- void StopSnd(void);
- BOOL FInitSnd(void);
- BOOL FPlaySnd(float rFreq, long cmsc, UINT csps,
- UINT cbit, UINT cchn);
- void FDelay(long cms);
-
- /* Available sample rates. */
- #define cspsLo 11025
- #define cspsMid 22050
- #define cspsHi 44100
-
- /* Available sample sizes. */
- #define cbitLo 8
- #define cbitHi 16
-