27 #ifndef ICB_MUSICMANAGER_H_INCLUDED_ 28 #define ICB_MUSICMANAGER_H_INCLUDED_ 30 #include "engines/icb/common/px_common.h" 31 #include "engines/icb/sound/direct_sound.h" 33 #include "common/stream.h" 35 #include "audio/audiostream.h" 36 #include "audio/mixer.h" 45 uint32 m_bufferLength;
48 uint32 m_wavByteOffsetInCluster;
52 int32 m_lengthInCycles;
55 int32 m_adjustFadeVol;
65 bool8 LoadMusic(
const char *clusterName, uint32 byteOffsetToWav, int32 vol = 128);
66 bool8 StartMusic(
const char *clusterName, uint32 byteOffsetToWav, int32 vol = 128);
69 void SetMusicPausedStatus(bool8 p = TRUE8);
70 void SetMusicVolume(int32 volume);
73 bool8 IsPaused() {
return m_paused; }
74 int32 GetLength() {
return m_lengthInCycles; }
79 void SetVolume(int32 volume);
80 void AdjustVolume(int32 amount);
Definition: music_manager.h:40
Definition: audiostream.h:50