home *** CD-ROM | disk | FTP | other *** search
/ Emulator Universe CD / emulatoruniversecd1998.iso / Speccy / Emulators / winemu / SOURCES / SND / WAVE.H < prev   
Encoding:
Text File  |  1996-01-18  |  567 b   |  20 lines

  1. /*****************************************************/
  2. /* wave.h                                            */
  3. /* -- Interface to simple tone generation function.  */
  4. /*****************************************************/
  5. void CloseSnd(void);
  6. void StopSnd(void);
  7. BOOL FInitSnd(void);
  8. BOOL FPlaySnd(float rFreq, long cmsc, UINT csps,
  9.   UINT cbit, UINT cchn);
  10. void FDelay(long cms);
  11.  
  12. /* Available sample rates. */
  13. #define cspsLo  11025
  14. #define cspsMid 22050
  15. #define cspsHi  44100
  16.  
  17. /* Available sample sizes. */
  18. #define cbitLo  8
  19. #define cbitHi  16
  20.