aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.cpp
diff options
context:
space:
mode:
authorDavid Corrales2007-08-05 19:34:20 +0000
committerDavid Corrales2007-08-05 19:34:20 +0000
commit6856535010bd2fa4449bcfde1c88dc06cd46e26f (patch)
treeb81a2234c2beff0312c93e039d6cafda4babeca6 /sound/vorbis.cpp
parent1400d28bfb37fc94f3c44dec0a4d0cef65fb8fb7 (diff)
parentec1803f838d5efc7decf75c05a1fb4a9633751e5 (diff)
downloadscummvm-rg350-6856535010bd2fa4449bcfde1c88dc06cd46e26f.tar.gz
scummvm-rg350-6856535010bd2fa4449bcfde1c88dc06cd46e26f.tar.bz2
scummvm-rg350-6856535010bd2fa4449bcfde1c88dc06cd46e26f.zip
Merged fsnode with trunk: r27971:28460
svn-id: r28462
Diffstat (limited to 'sound/vorbis.cpp')
-rw-r--r--sound/vorbis.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/sound/vorbis.cpp b/sound/vorbis.cpp
index be15039aca..668cdf4fc7 100644
--- a/sound/vorbis.cpp
+++ b/sound/vorbis.cpp
@@ -266,23 +266,6 @@ void VorbisInputStream::refill() {
#pragma mark -
-AudioStream *makeVorbisStream(Common::File *file, uint32 size) {
- assert(file);
-
- // FIXME: For now, just read the whole data into memory, and be done
- // with it. Of course this is in general *not* a nice thing to do...
-
- // If no size was specified, read the whole remainder of the file
- if (!size)
- size = file->size() - file->pos();
-
- // Read 'size' bytes of data into a MemoryReadStream
- Common::MemoryReadStream *stream = file->readStream(size);
-
- // .. and create a VorbisInputStream from all this
- return new VorbisInputStream(stream, true);
-}
-
AudioStream *makeVorbisStream(
Common::SeekableReadStream *stream,
bool disposeAfterUse,