From 668f6e5de852a2a378cdff3c9e0f33d0836c4d11 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 6 Jan 2010 00:02:19 +0000 Subject: Adapt TOUCHE to use the new FLAC, Vorbis and MP3 factories (it didn't use any looping features anyway). svn-id: r47066 --- engines/touche/resource.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'engines') diff --git a/engines/touche/resource.cpp b/engines/touche/resource.cpp index d16a60bdbc..55aab42ff4 100644 --- a/engines/touche/resource.cpp +++ b/engines/touche/resource.cpp @@ -47,10 +47,7 @@ struct CompressedSpeechFile { const char *filename; Audio::SeekableAudioStream *(*makeStream)( Common::SeekableReadStream *stream, - bool disposeAfterUse, - uint32 startTime, - uint32 duration, - uint numLoops); + bool disposeAfterUse); }; static const CompressedSpeechFile compressedSpeechFilesTable[] = { @@ -669,9 +666,8 @@ void ToucheEngine::res_loadSpeechSegment(int num) { } _fSpeech[0].seek(offs); Common::MemoryReadStream *tmp = _fSpeech[0].readStream(size); - if (tmp) { - stream = (compressedSpeechFilesTable[_compressedSpeechData].makeStream)(tmp, true, 0, 0, 1); - } + if (tmp) + stream = (compressedSpeechFilesTable[_compressedSpeechData].makeStream)(tmp, true); } if (stream) { _speechPlaying = true; -- cgit v1.2.3