home *** CD-ROM | disk | FTP | other *** search
-
-
- struct IOAudio *GetAudioChannel(ULONG bufferSize);
- void FreeAudioChannel(struct IOAudio *aIOB);
- void InitAudioChannel(struct IOAudio *aIOB,UWORD volume,UWORD period);
- struct IOAudio *DuplicateAudioChannel(struct IOAudio *OrigIOB);
- void DeleteDuplication(struct IOAudio *aIOB);
- ULONG LoadAudioBuffer(BPTR file,struct IOAudio *aIOB,ULONG toRead);
- void Position(BPTR file,char *string);
- void WriteMsg(char *errMsg);
- void cleanup(int err);
-
-
- typedef struct Voice8Header
- {
- ULONG oneShotHiSamples,
- repeatHiSamples,
- samplesPerHiCycle;
- UWORD samplesPerSec;
- UBYTE ctOctave,sCompression;
- LONG volume;
- };
-
- #define MIN(x,y) ( (x) < (y) ) ? (x) : (y)
-
-