aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/sound.cpp
diff options
context:
space:
mode:
authorjohndoe1232015-11-24 00:10:10 +0100
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commitfa17f684da1da7fded805746b75c454502ffe683 (patch)
tree1e668515abccf6455299a5b9fbadc2c5b6affd98 /engines/illusions/sound.cpp
parent09bbb482a8ccdfb8e36128d40364900b99aa2a13 (diff)
downloadscummvm-rg350-fa17f684da1da7fded805746b75c454502ffe683.tar.gz
scummvm-rg350-fa17f684da1da7fded805746b75c454502ffe683.tar.bz2
scummvm-rg350-fa17f684da1da7fded805746b75c454502ffe683.zip
ILLUSIONS: DUCKMAN: Start implementing the menu system
Still work-in-progress, missing functionality and buggy Maybe needs some work for BBDOU where this isn't implemented yet.
Diffstat (limited to 'engines/illusions/sound.cpp')
-rw-r--r--engines/illusions/sound.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/illusions/sound.cpp b/engines/illusions/sound.cpp
index 5eebf00d21..5b1eea85f8 100644
--- a/engines/illusions/sound.cpp
+++ b/engines/illusions/sound.cpp
@@ -37,7 +37,7 @@ MusicPlayer::~MusicPlayer() {
}
void MusicPlayer::play(uint32 musicId, bool looping, int16 volume, int16 pan) {
- debug("MusicPlayer::play(%08X)", musicId);
+ debug(1, "MusicPlayer::play(%08X)", musicId);
if (_flags & 1) {
stop();
_musicId = musicId;
@@ -57,7 +57,7 @@ void MusicPlayer::play(uint32 musicId, bool looping, int16 volume, int16 pan) {
}
void MusicPlayer::stop() {
- debug("MusicPlayer::stop()");
+ debug(1, "MusicPlayer::stop()");
if ((_flags & 1) && (_flags & 2)) {
if (g_system->getMixer()->isSoundHandleActive(_soundHandle))
g_system->getMixer()->stopHandle(_soundHandle);
@@ -82,7 +82,7 @@ VoicePlayer::~VoicePlayer() {
}
bool VoicePlayer::cue(const char *voiceName) {
- debug("VoicePlayer::cue(%s)", voiceName);
+ debug(1, "VoicePlayer::cue(%s)", voiceName);
_voiceName = voiceName;
_voiceStatus = 2;
if (!isEnabled()) {
@@ -147,7 +147,7 @@ void Sound::load() {
}
void Sound::unload() {
- debug("Sound::unload() %08X", _soundEffectId);
+ debug(1, "Sound::unload() %08X", _soundEffectId);
stop();
delete _stream;
_stream = 0;