27 #ifndef ICB_SOUND_LOWLEVEL_H 28 #define ICB_SOUND_LOWLEVEL_H 30 #include "engines/icb/common/px_string.h" 34 void SetupSndEngine();
36 int32 GetSamplePitch(
const char *sampleName, bool8 isInSession);
38 void StartSample(int32 ch,
const char *sampleName, bool8 isInSession, int32 looping);
39 void StopSample(int32 ch);
40 void SetChannelVolumeAndPan(int32 ch, int32 volume, int32 pan);
41 void SetChannelPitch(int32 ch, int32 pitch);
43 void LoadSessionSounds(
const char *cluster);
44 void LoadMissionSounds(
const char *cluster);
47 bool8 DoesClusterContainFile(pxString clustername, uint32 hash_to_find, uint32 &fileoffset, uint32 &filesize);
48 bool8 IsSpeechPlaying(
void);
51 int32 PreloadSpeech(uint32 hash);
52 int32 SayLineOfSpeech(uint32 speechHash);
53 void StopSpeechPlayback(
void);
54 void CancelSpeechPlayback(
void);
58 #endif // SOUND_LOWLEVEL_H