aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/smush/smush_player.cpp
diff options
context:
space:
mode:
authorMax Horn2007-07-15 19:24:00 +0000
committerMax Horn2007-07-15 19:24:00 +0000
commitf4c0b853cc8453acac0c9e6f6901c0056a2288fa (patch)
treece3b9d4a1a040fa14a19d90da2bf6d87ad459c68 /engines/scumm/smush/smush_player.cpp
parent11b2806741da02dde2e2e4c1d5fa8ebb26d64233 (diff)
downloadscummvm-rg350-f4c0b853cc8453acac0c9e6f6901c0056a2288fa.tar.gz
scummvm-rg350-f4c0b853cc8453acac0c9e6f6901c0056a2288fa.tar.bz2
scummvm-rg350-f4c0b853cc8453acac0c9e6f6901c0056a2288fa.zip
Fixed sound factory messup caused by my previous commit
svn-id: r28111
Diffstat (limited to 'engines/scumm/smush/smush_player.cpp')
-rw-r--r--engines/scumm/smush/smush_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp
index 2c744a16e2..e7663c61c1 100644
--- a/engines/scumm/smush/smush_player.cpp
+++ b/engines/scumm/smush/smush_player.cpp
@@ -1183,7 +1183,7 @@ void SmushPlayer::tryCmpFile(const char *filename) {
strcpy(fname + (i - filename), ".ogg");
if (file->open(fname)) {
_compressedFileMode = true;
- _vm->_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_compressedFileSoundHandle, Audio::makeVorbisStream(file, true, 0, 0));
+ _vm->_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_compressedFileSoundHandle, Audio::makeVorbisStream(file, true));
return;
}
#endif
@@ -1192,7 +1192,7 @@ void SmushPlayer::tryCmpFile(const char *filename) {
strcpy(fname + (i - filename), ".mp3");
if (file->open(fname)) {
_compressedFileMode = true;
- _vm->_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_compressedFileSoundHandle, Audio::makeMP3Stream(file, true, 0, 0));
+ _vm->_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_compressedFileSoundHandle, Audio::makeMP3Stream(file, true));
return;
}
#endif