22 #ifndef MM_SHARED_XEEN_SOUND_H 23 #define MM_SHARED_XEEN_SOUND_H 25 #include "audio/mididrv.h" 26 #include "audio/mixer.h" 27 #include "audio/audiostream.h" 28 #include "mm/shared/xeen/file.h" 29 #include "mm/shared/xeen/sound_driver.h" 38 const byte *_effectsData;
41 const byte *_songData;
45 int _musicVolume, _sfxVolume;
50 void loadEffectsData();
75 void playFX(uint effectId);
80 void stopFX(
bool force =
false);
85 int songCommand(uint commandId, byte musicVolume = 0, byte sfxVolume = 0);
void setMusicPercent(byte percent)
void stopSong()
Definition: sound.h:90
bool isSoundPlaying() const
MusicType
Definition: mididrv.h:44
void playSong(Common::SeekableReadStream &stream)
void updateSoundSettings()
int songCommand(uint commandId, byte musicVolume=0, byte sfxVolume=0)
void playFX(uint effectId)
void setMusicOn(bool isOn)
Definition: detection.h:27
void playVoice(const Common::Path &name)
void playSound(Common::SeekableReadStream &s, int unused=0)
Definition: sound_driver.h:56
void stopFX(bool force=false)
bool isMusicPlaying() const