home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / billy164.zip / src / dart / dart.h < prev    next >
C/C++ Source or Header  |  1997-09-21  |  827b  |  38 lines

  1.  
  2. typedef struct {
  3.     char    FileName[13];
  4.     word    Flags;
  5.     byte    Volume;
  6.     dword   Length;
  7.     dword   LoopStart;
  8.     dword   LoopEnd;
  9.     void    *DataPtr;
  10.     word    Rate;
  11.     word    Voice;
  12.     char    SampleName[28];
  13. } Sample;
  14.  
  15. void   initDART(void);
  16.  
  17. void   DARTopdater(void);
  18. void   exitDART(void);
  19.  
  20. void    dPlayVoice(int Voice, Sample *SampPtr);
  21. void    dStopVoice(int Voice);
  22. void    dSetVoiceVolume(int Voice, int Volume);
  23. Sample *dImportSample(char *Filename, int Form);
  24. void    dSetSoundVolume(int Volume);
  25.  
  26. long    dGetVoicePos(int Voice);
  27. void    dFreeSample(Sample *SampPtr);
  28.  
  29.  
  30. extern int dError;
  31. extern char *dErrorMsg[];
  32.  
  33. #define FORM_WAV    0x80            /* Windows WAVE PCM files */
  34. #define FORM_IFF    0x82            /* Amiga IFF/8SVX sample files */
  35.  
  36.  
  37.  
  38.