From f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 5 Jan 2010 02:27:24 +0000 Subject: - Add a new SeekableAudioStream interface. Soon to be used to replace audio stream specific looping code by generic code in Mixer... - Adapted some existing AudioStreams to implement that interface (not tested!) svn-id: r47013 --- engines/touche/resource.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/touche') diff --git a/engines/touche/resource.cpp b/engines/touche/resource.cpp index 0434b198d6..d16a60bdbc 100644 --- a/engines/touche/resource.cpp +++ b/engines/touche/resource.cpp @@ -30,6 +30,7 @@ #include "sound/mp3.h" #include "sound/voc.h" #include "sound/vorbis.h" +#include "sound/audiostream.h" #include "touche/midi.h" #include "touche/touche.h" @@ -44,7 +45,7 @@ enum { struct CompressedSpeechFile { const char *filename; - Audio::AudioStream *(*makeStream)( + Audio::SeekableAudioStream *(*makeStream)( Common::SeekableReadStream *stream, bool disposeAfterUse, uint32 startTime, -- cgit v1.2.3