diff options
author | Johannes Schickel | 2010-01-05 02:27:24 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-05 02:27:24 +0000 |
commit | f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b (patch) | |
tree | ebbd8705d76d5d23a2b217f7bd31012afe271d2c /engines/touche | |
parent | 00e48f687ff0b0302383abfb9971f5420dc3c265 (diff) | |
download | scummvm-rg350-f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b.tar.gz scummvm-rg350-f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b.tar.bz2 scummvm-rg350-f5c3bd887e2257fc7fdfb0d141ddbae592f1e83b.zip |
- 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
Diffstat (limited to 'engines/touche')
-rw-r--r-- | engines/touche/resource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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, |