diff options
Diffstat (limited to 'sound/vorbis.cpp')
-rw-r--r-- | sound/vorbis.cpp | 24 |
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) { |