aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorMax Horn2003-12-21 00:07:16 +0000
committerMax Horn2003-12-21 00:07:16 +0000
commit9a994bf2f21a6e5a577c9c629846b3704214d711 (patch)
tree120103a494c0755e2641e674e127997a154b5316 /queen
parentdafca64f36646ab2909b7ce61bc52639daefa2a6 (diff)
downloadscummvm-rg350-9a994bf2f21a6e5a577c9c629846b3704214d711.tar.gz
scummvm-rg350-9a994bf2f21a6e5a577c9c629846b3704214d711.tar.bz2
scummvm-rg350-9a994bf2f21a6e5a577c9c629846b3704214d711.zip
cleanup
svn-id: r11795
Diffstat (limited to 'queen')
-rw-r--r--queen/sound.cpp4
-rw-r--r--queen/sound.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/queen/sound.cpp b/queen/sound.cpp
index ef4e9b65d2..d3076ba80d 100644
--- a/queen/sound.cpp
+++ b/queen/sound.cpp
@@ -194,9 +194,9 @@ void Sound::playSong(int16 songNum) {
}
-int SBSound::playSound(byte *sound, uint32 size) {
+void SBSound::playSound(byte *sound, uint32 size) {
byte flags = SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE;
- return _mixer->playRaw(&_sfxHandle, sound, size, 11025, flags);
+ _mixer->playRaw(&_sfxHandle, sound, size, 11025, flags);
}
void SBSound::sfxPlay(const char *name) {
diff --git a/queen/sound.h b/queen/sound.h
index 6b39f752e1..cf0fbe140a 100644
--- a/queen/sound.h
+++ b/queen/sound.h
@@ -104,7 +104,7 @@ public:
SBSound(SoundMixer *mixer, QueenEngine *vm) : Sound(mixer, vm) {};
void sfxPlay(const char *name);
protected:
- int playSound(byte *sound, uint32 size);
+ void playSound(byte *sound, uint32 size);
};
#ifdef USE_MAD