home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 7 Games
/
07-Games.zip
/
billy164.zip
/
src
/
dart
/
dart.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-21
|
827b
|
38 lines
typedef struct {
char FileName[13];
word Flags;
byte Volume;
dword Length;
dword LoopStart;
dword LoopEnd;
void *DataPtr;
word Rate;
word Voice;
char SampleName[28];
} Sample;
void initDART(void);
void DARTopdater(void);
void exitDART(void);
void dPlayVoice(int Voice, Sample *SampPtr);
void dStopVoice(int Voice);
void dSetVoiceVolume(int Voice, int Volume);
Sample *dImportSample(char *Filename, int Form);
void dSetSoundVolume(int Volume);
long dGetVoicePos(int Voice);
void dFreeSample(Sample *SampPtr);
extern int dError;
extern char *dErrorMsg[];
#define FORM_WAV 0x80 /* Windows WAVE PCM files */
#define FORM_IFF 0x82 /* Amiga IFF/8SVX sample files */