home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / soundr.zip / DSOUND.H < prev    next >
Text File  |  1990-11-08  |  555b  |  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    20
  7. #define DSOUND_DEF_SHIFT    4
  8.  
  9. /* Offsets for the .SND/DSOUND format */
  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. #define    SND_SIZE_OFS        8
  15. #define    SND_START_OFS        12
  16. #define    SND_HEADER_SIZE        32
  17.  
  18. void FAR PASCAL PlaySound(LPSTR, DWORD, unsigned, unsigned, unsigned, unsigned);
  19. int FAR PASCAL GetDSoundVersion();
  20.  
  21.