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/vorbis.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/vorbis.h')
-rw-r--r-- | sound/vorbis.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/vorbis.h b/sound/vorbis.h index 0db4308b0d..369cd14d01 100644 --- a/sound/vorbis.h +++ b/sound/vorbis.h @@ -51,7 +51,7 @@ namespace Common { namespace Audio { -class AudioStream; +class SeekableAudioStream; /** * Create a new AudioStream from the Ogg Vorbis data in the given stream. @@ -66,7 +66,7 @@ class AudioStream; * @param numLoops how often the data shall be looped (0 = infinite) * @return a new AudioStream, or NULL, if an error occured */ -AudioStream *makeVorbisStream( +SeekableAudioStream *makeVorbisStream( Common::SeekableReadStream *stream, bool disposeAfterUse, uint32 startTime = 0, |