diff options
author | Johannes Schickel | 2010-01-07 14:22:24 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-07 14:22:24 +0000 |
commit | b80779824f8fdec1bfbb59115cbcc01d07914a0b (patch) | |
tree | b6993e0bcf4468fde4e67d63508d8f2623c66f8a /sound/mp3.h | |
parent | 49e53ade008eb9cce1de00c45e41dbc6b52f8c49 (diff) | |
download | scummvm-rg350-b80779824f8fdec1bfbb59115cbcc01d07914a0b.tar.gz scummvm-rg350-b80779824f8fdec1bfbb59115cbcc01d07914a0b.tar.bz2 scummvm-rg350-b80779824f8fdec1bfbb59115cbcc01d07914a0b.zip |
- Strip custom looping code out of FLAC, Vorbis and MP3 streams
- Adapt the legacy make*Stream factories to use the new AudioStream subclasses
- Change return value of make*Stream back to AudioStream *
svn-id: r47111
Diffstat (limited to 'sound/mp3.h')
-rw-r--r-- | sound/mp3.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/mp3.h b/sound/mp3.h index c0245636a3..9eb62e10e7 100644 --- a/sound/mp3.h +++ b/sound/mp3.h @@ -51,6 +51,7 @@ namespace Common { namespace Audio { +class AudioStream; class SeekableAudioStream; /** @@ -69,7 +70,7 @@ class SeekableAudioStream; * @param numLoops how often the data shall be looped (0 = infinite) * @return a new SeekableAudioStream, or NULL, if an error occured */ -SeekableAudioStream *makeMP3Stream( +AudioStream *makeMP3Stream( Common::SeekableReadStream *stream, bool disposeAfterUse, uint32 startTime, |