aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-07 17:14:44 +0000
committerJohannes Schickel2010-01-07 17:14:44 +0000
commitaa2f55ddc6730e8c3afce61efa241d5f1b1e6b34 (patch)
treef11f10e485a11cce728854376b92a3ec3b926b3d /sound/vorbis.cpp
parentb47725540f53694ce8d261a2b7b132aff6c6eb74 (diff)
downloadscummvm-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/vorbis.cpp')
-rw-r--r--sound/vorbis.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/sound/vorbis.cpp b/sound/vorbis.cpp
index 54d9042cf8..70201cb23d 100644
--- a/sound/vorbis.cpp
+++ b/sound/vorbis.cpp
@@ -239,30 +239,6 @@ bool VorbisInputStream::refill() {
#pragma mark --- Ogg Vorbis factory functions ---
#pragma mark -
-
-AudioStream *makeVorbisStream(
- Common::SeekableReadStream *stream,
- bool disposeAfterUse,
- uint32 startTime,
- uint32 duration,
- uint numLoops) {
-
- SeekableAudioStream *input = new VorbisInputStream(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 *makeVorbisStream(
Common::SeekableReadStream *stream,
bool disposeAfterUse) {