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 /sound/voc.h | |
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 'sound/voc.h')
-rw-r--r-- | sound/voc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/voc.h b/sound/voc.h index eae09f2a4c..44bef758f3 100644 --- a/sound/voc.h +++ b/sound/voc.h @@ -45,7 +45,7 @@ namespace Common { class SeekableReadStream; } namespace Audio { -class AudioStream; +class SeekableAudioStream; #include "common/pack-start.h" // START STRUCT PACKING @@ -93,7 +93,7 @@ extern byte *loadVOCFromStream(Common::ReadStream &stream, int &size, int &rate) * * This function uses loadVOCFromStream() internally. */ -AudioStream *makeVOCStream(Common::SeekableReadStream &stream, byte flags = 0, uint loopStart = 0, uint loopEnd = 0, bool takeOwnershipOfStream = false); +SeekableAudioStream *makeVOCStream(Common::SeekableReadStream &stream, byte flags = 0, uint loopStart = 0, uint loopEnd = 0, bool takeOwnershipOfStream = false); } // End of namespace Audio |