diff options
author | Johannes Schickel | 2010-01-07 17:14:44 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-07 17:14:44 +0000 |
commit | aa2f55ddc6730e8c3afce61efa241d5f1b1e6b34 (patch) | |
tree | f11f10e485a11cce728854376b92a3ec3b926b3d /sound/flac.cpp | |
parent | b47725540f53694ce8d261a2b7b132aff6c6eb74 (diff) | |
download | scummvm-rg350-aa2f55ddc6730e8c3afce61efa241d5f1b1e6b34.tar.gz scummvm-rg350-aa2f55ddc6730e8c3afce61efa241d5f1b1e6b34.tar.bz2 scummvm-rg350-aa2f55ddc6730e8c3afce61efa241d5f1b1e6b34.zip |
Remove the deprecated FLAC, Vorbis and MP3 factories.
svn-id: r47134
Diffstat (limited to 'sound/flac.cpp')
-rw-r--r-- | sound/flac.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sound/flac.cpp b/sound/flac.cpp index d225822889..1c7f03b9d1 100644 --- a/sound/flac.cpp +++ b/sound/flac.cpp @@ -724,30 +724,6 @@ void FlacInputStream::callWrapError(const ::FLAC__SeekableStreamDecoder *decoder #pragma mark --- Flac factory functions --- #pragma mark - - -AudioStream *makeFlacStream( - Common::SeekableReadStream *stream, - bool disposeAfterUse, - uint32 startTime, - uint32 duration, - uint numLoops) { - - SeekableAudioStream *input = new FlacInputStream(stream, disposeAfterUse); - assert(input); - - if (startTime || duration) { - Timestamp start(startTime, 1000), end(startTime + duration, 1000); - - if (!duration) - end = input->getLength(); - - input = new SubSeekableAudioStream(input, start, end); - assert(input); - } - - return makeLoopingAudioStream(input, numLoops); -} - SeekableAudioStream *makeFlacStream( Common::SeekableReadStream *stream, bool disposeAfterUse) { |