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/flac.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/flac.h')
-rw-r--r-- | sound/flac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/flac.h b/sound/flac.h index 541b322d7a..1eab47d015 100644 --- a/sound/flac.h +++ b/sound/flac.h @@ -51,7 +51,7 @@ namespace Common { namespace Audio { -class AudioStream; +class SeekableAudioStream; /** * Create a new AudioStream from the FLAC 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 *makeFlacStream( +SeekableAudioStream *makeFlacStream( Common::SeekableReadStream *stream, bool disposeAfterUse, uint32 startTime = 0, |