aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/touche/resource.cpp10
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;