22 #ifndef GRIM_IMUSE_SNDMGR_H 23 #define GRIM_IMUSE_SNDMGR_H 25 #include "audio/mixer.h" 26 #include "audio/audiostream.h" 36 #define MAX_IMUSE_SOUNDS 16 41 #define IMUSE_VOLGRP_BGND 0 42 #define IMUSE_VOLGRP_SFX 1 43 #define IMUSE_VOLGRP_VOICE 2 44 #define IMUSE_VOLGRP_MUSIC 3 45 #define IMUSE_VOLGRP_ACTION 4 86 bool checkForProperHandle(
SoundDesc *soundDesc);
88 void parseSoundHeader(
SoundDesc *sound,
int &headerSize);
96 SoundDesc *openSound(
const char *soundName,
int volGroupId);
103 bool isEndOfRegion(
SoundDesc *sound,
int region);
106 int getRegionOffset(
SoundDesc *sound,
int region);
107 int getRegionLength(
SoundDesc *sound,
int region);
108 int getJumpIdByRegionAndHookId(
SoundDesc *sound,
int region,
int hookId);
109 int getRegionIdByJumpId(
SoundDesc *sound,
int jumpId);
110 int getJumpHookId(
SoundDesc *sound,
int number);
111 int getJumpFade(
SoundDesc *sound,
int number);
113 int32 getDataFromRegion(
SoundDesc *sound,
int region, byte **buf, int32 offset, int32 size, int32 *flags);
Definition: imuse_sndmgr.h:32
Definition: imuse_mcmp_mgr.h:27
Definition: imuse_sndmgr.h:62