aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJohannes Schickel2011-11-06 13:57:05 +0100
committerJohannes Schickel2011-11-06 13:57:05 +0100
commit408d119a11198ea5d472a84ec44d427bd32326af (patch)
treec932b97c3f4e8be9b7115a534ee2fe615f251605 /audio
parent09708f7224cc388ef45ec570a477a8ace0e61bec (diff)
downloadscummvm-rg350-408d119a11198ea5d472a84ec44d427bd32326af.tar.gz
scummvm-rg350-408d119a11198ea5d472a84ec44d427bd32326af.tar.bz2
scummvm-rg350-408d119a11198ea5d472a84ec44d427bd32326af.zip
AUDIO: Remove unused makeRawDiskStream_OLD factory.
Diffstat (limited to 'audio')
-rw-r--r--audio/decoders/raw.cpp10
-rw-r--r--audio/decoders/raw.h22
2 files changed, 0 insertions, 32 deletions
diff --git a/audio/decoders/raw.cpp b/audio/decoders/raw.cpp
index 881b8c1d6a..9a68401fdf 100644
--- a/audio/decoders/raw.cpp
+++ b/audio/decoders/raw.cpp
@@ -337,14 +337,4 @@ SeekableAudioStream *makeRawStream(const byte *buffer, uint32 size,
return makeRawStream(new Common::MemoryReadStream(buffer, size, disposeAfterUse), rate, flags, DisposeAfterUse::YES);
}
-SeekableAudioStream *makeRawDiskStream_OLD(Common::SeekableReadStream *stream, RawStreamBlock *block, int numBlocks,
- int rate, byte flags, DisposeAfterUse::Flag disposeStream) {
- assert(numBlocks > 0);
- RawStreamBlockList blocks;
- for (int i = 0; i < numBlocks; ++i)
- blocks.push_back(block[i]);
-
- return makeRawStream(stream, blocks, rate, flags, disposeStream);
-}
-
} // End of namespace Audio
diff --git a/audio/decoders/raw.h b/audio/decoders/raw.h
index 5cbf2c9b79..9d8884fa04 100644
--- a/audio/decoders/raw.h
+++ b/audio/decoders/raw.h
@@ -123,28 +123,6 @@ SeekableAudioStream *makeRawStream(Common::SeekableReadStream *stream,
byte flags,
DisposeAfterUse::Flag disposeAfterUse = DisposeAfterUse::YES);
-/**
- * NOTE:
- * This API is considered deprecated.
- *
- * Creates a audio stream, which plays from given stream.
- *
- * @param stream Stream to play from
- * @param block Pointer to an RawStreamBlock array
- * @see RawStreamBlock
- * @param numBlocks Number of blocks.
- * @param rate The rate
- * @param flags Flags combination.
- * @see RawFlags
- * @param disposeStream Whether the "stream" object should be destroyed after playback.
- * @return The new SeekableAudioStream (or 0 on failure).
- */
-SeekableAudioStream *makeRawDiskStream_OLD(Common::SeekableReadStream *stream,
- RawStreamBlock *block, int numBlocks,
- int rate, byte flags,
- DisposeAfterUse::Flag disposeStream);
-
-
} // End of namespace Audio
#endif