aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-05 23:59:28 +0000
committerJohannes Schickel2010-01-05 23:59:28 +0000
commit81a94a06444fcefa8645b26ba34a5ee0e45851db (patch)
treec2f503610043b07fa001dcad2963fa058f6909a3 /engines/scumm
parent79ee2b0895b4b64fab878f1f3c028e9bfdf5fcf3 (diff)
downloadscummvm-rg350-81a94a06444fcefa8645b26ba34a5ee0e45851db.tar.gz
scummvm-rg350-81a94a06444fcefa8645b26ba34a5ee0e45851db.tar.bz2
scummvm-rg350-81a94a06444fcefa8645b26ba34a5ee0e45851db.zip
- Put the new factories for MP3, Vorbis and FLAC in place.
- Marked the loop factories with loop related parameters as deprecated. svn-id: r47061
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/imuse_digi/dimuse_sndmgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp
index 872975854a..bd722fe636 100644
--- a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp
+++ b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp
@@ -704,15 +704,15 @@ int32 ImuseDigiSndMgr::getDataFromRegion(SoundDesc *soundDesc, int region, byte
assert(tmp);
#ifdef USE_FLAC
if (soundMode == 3)
- soundDesc->compressedStream = Audio::makeFlacStream(tmp, true, offsetMs);
+ soundDesc->compressedStream = Audio::makeFlacStream(tmp, true, offsetMs, 0, 1);
#endif
#ifdef USE_VORBIS
if (soundMode == 2)
- soundDesc->compressedStream = Audio::makeVorbisStream(tmp, true, offsetMs);
+ soundDesc->compressedStream = Audio::makeVorbisStream(tmp, true, offsetMs, 0, 1);
#endif
#ifdef USE_MAD
if (soundMode == 1)
- soundDesc->compressedStream = Audio::makeMP3Stream(tmp, true, offsetMs);
+ soundDesc->compressedStream = Audio::makeMP3Stream(tmp, true, offsetMs, 0, 1);
#endif
assert(soundDesc->compressedStream);
}