aboutsummaryrefslogtreecommitdiff
path: root/sound/decoders/raw.h
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-30 15:28:07 +0000
committerJohannes Schickel2010-01-30 15:28:07 +0000
commit3cc0ef6c1cf5574168456e74736baf8f4e231af6 (patch)
treea9267881522e6e3704d1d364ce67123d82e4af81 /sound/decoders/raw.h
parenta505d32eff97e31ac73495e202f9c01f6490dcf8 (diff)
downloadscummvm-rg350-3cc0ef6c1cf5574168456e74736baf8f4e231af6.tar.gz
scummvm-rg350-3cc0ef6c1cf5574168456e74736baf8f4e231af6.tar.bz2
scummvm-rg350-3cc0ef6c1cf5574168456e74736baf8f4e231af6.zip
Remove RawMemoryStream.
svn-id: r47717
Diffstat (limited to 'sound/decoders/raw.h')
-rw-r--r--sound/decoders/raw.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sound/decoders/raw.h b/sound/decoders/raw.h
index 92add95131..c81884dc00 100644
--- a/sound/decoders/raw.h
+++ b/sound/decoders/raw.h
@@ -65,27 +65,6 @@ enum RawFlags {
/**
- * Creates a audio stream, which plays the given raw data.
- *
- * The data pointer is assumed to have been allocated with malloc().
- * In particular, if autofreeBuffer is set to DisposeAfterUse::YES,
- * then this buffer will be deallocated using free(). So do not
- * use a buffer allocated with new[]!
- *
- * @param ptr pointer to a buffer containing audio data
- * @param len length of the buffer in bytes
- * @param rate sample rate of the data
- * @param flags audio format flags combination
- * @see RawFlags
- * @param autofreeBuffer whether the data buffer should be destroyed after playback
- * @return The new SeekableAudioStream (or 0 on failure).
- */
-SeekableAudioStream *makeRawMemoryStream(const byte *ptr, uint32 len,
- int rate, byte flags,
- DisposeAfterUse::Flag autofreeBuffer = DisposeAfterUse::YES
- );
-
-/**
* Struct used to define the audio data to be played by a RawDiskStream.
*/
struct RawDiskStreamAudioBlock {