diff options
author | Johannes Schickel | 2010-01-06 00:02:19 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-06 00:02:19 +0000 |
commit | 668f6e5de852a2a378cdff3c9e0f33d0836c4d11 (patch) | |
tree | 99d1bac6a676b87f9d61b1d743f5f6a55cd554f0 /engines | |
parent | 8638d6ce61414c8cb6ed87ef6101e6c113f97065 (diff) | |
download | scummvm-rg350-668f6e5de852a2a378cdff3c9e0f33d0836c4d11.tar.gz scummvm-rg350-668f6e5de852a2a378cdff3c9e0f33d0836c4d11.tar.bz2 scummvm-rg350-668f6e5de852a2a378cdff3c9e0f33d0836c4d11.zip |
Adapt TOUCHE to use the new FLAC, Vorbis and MP3 factories (it didn't use any looping features anyway).
svn-id: r47066
Diffstat (limited to 'engines')
-rw-r--r-- | engines/touche/resource.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
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; |