home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / _bbs3 / f1373.zip / DSOUND.H < prev    next >
Text File  |  1991-02-23  |  606b  |  21 lines

  1. /* Defines for accessing DSOUND.DLL */
  2.  
  3. /* Defaults for DSOUND parameters */
  4. #define DSOUND_DEF_FREQ        22000
  5. #define DSOUND_DEF_SAMPSIZE    0
  6. #define DSOUND_DEF_VOLUME    10
  7. #define DSOUND_DEF_SHIFT    4
  8.  
  9. /* Offsets for the .SND */
  10. #define SND_SAMPSIZE_OFS    0
  11. #define SND_FREQ_OFS        2
  12. #define    SND_VOLUME_OFS        4
  13. #define    SND_SHIFT_OFS        6
  14.  
  15. void FAR PASCAL PlaySound(char huge *, DWORD, unsigned, unsigned, unsigned, unsigned);
  16. int FAR PASCAL GetDSoundVersion();
  17. void FAR PASCAL SetDelayValue(unsigned);
  18. int FAR PASCAL GetDelayValue();
  19. void FAR PASCAL SetVolume(unsigned);
  20. int FAR PASCAL GetVolume();
  21.