From 81a94a06444fcefa8645b26ba34a5ee0e45851db Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 5 Jan 2010 23:59:28 +0000 Subject: - Put the new factories for MP3, Vorbis and FLAC in place. - Marked the loop factories with loop related parameters as deprecated. svn-id: r47061 --- engines/scumm/imuse_digi/dimuse_sndmgr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/scumm/imuse_digi') 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); } -- cgit v1.2.3