22 #ifndef SLUDGE_SOUND_H 23 #define SLUDGE_SOUND_H 25 #include "common/list.h" 27 #include "audio/mixer.h" 30 class SeekableReadStream;
56 void handleSoundLists();
60 bool initSoundStuff();
61 void killSoundStuff();
64 bool playMOD(
int,
int,
int);
66 void setMusicVolume(
int a,
int v);
67 void setDefaultMusicVolume(
int v);
70 int cacheSound(
int f);
71 bool startSound(
int,
bool =
false);
72 void huntKillSound(
int a);
73 void huntKillFreeSound(
int filenum);
74 void setSoundVolume(
int a,
int v);
75 void setDefaultSoundVolume(
int v);
76 void setSoundLoop(
int a,
int s,
int e);
77 bool stillPlayingSound(
int ch);
79 int findInSoundCache(
int a);
85 uint getSoundSource(
int index);
88 const static int MAX_SAMPLES;
89 const static int MAX_MODS;
100 SoundListHandles _soundListHandles;
103 bool _silenceIKillYou;
104 bool _isHandlingSoundList;
106 SoundThing *_soundCache;
107 SoundThing *_modCache;
115 void freeSound(
int a);
116 bool forceRemoveSound();
118 int findEmptySoundSlot();
Definition: variable.h:60
Definition: algorithm.h:29
Definition: audiostream.h:50