aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/sound.cpp
diff options
context:
space:
mode:
authorMax Horn2007-02-03 19:05:53 +0000
committerMax Horn2007-02-03 19:05:53 +0000
commitcb49cbdd456a97c6e10bdc279624603bd9bd7b60 (patch)
treed1ef8edbfbe237973b6cdef96434a17c24c9c122 /engines/saga/sound.cpp
parent9c5e62fb0408aeae98dcc9124c7090453768879d (diff)
downloadscummvm-rg350-cb49cbdd456a97c6e10bdc279624603bd9bd7b60.tar.gz
scummvm-rg350-cb49cbdd456a97c6e10bdc279624603bd9bd7b60.tar.bz2
scummvm-rg350-cb49cbdd456a97c6e10bdc279624603bd9bd7b60.zip
* Reimplemented Mixer::pauseAll to simply invoke pause on all channels
(implying change of semantics) * Reordered the params of Mixer::playRaw (the SoundType now comes first, not last) * Removed Mixer::isPaused * Removed Mixer::getSoundElapsedTimeOfSoundID * Added some doxygen comments to the Mixer svn-id: r25356
Diffstat (limited to 'engines/saga/sound.cpp')
-rw-r--r--engines/saga/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/sound.cpp b/engines/saga/sound.cpp
index 37f9cf174f..d528db5add 100644
--- a/engines/saga/sound.cpp
+++ b/engines/saga/sound.cpp
@@ -79,7 +79,7 @@ void Sound::playSoundBuffer(Audio::SoundHandle *handle, SoundBuffer &buffer, int
if (!buffer.isSigned)
flags |= Audio::Mixer::FLAG_UNSIGNED;
- _mixer->playRaw(handle, buffer.buffer, buffer.size, buffer.frequency, flags, -1, volume);
+ _mixer->playRaw(Audio::Mixer::kSFXSoundType, handle, buffer.buffer, buffer.size, buffer.frequency, flags, -1, volume);
}
void Sound::playSound(SoundBuffer &buffer, int volume, bool loop) {