aboutsummaryrefslogtreecommitdiff
path: root/sound/audiostream.h
diff options
context:
space:
mode:
authorMax Horn2010-01-22 14:14:28 +0000
committerMax Horn2010-01-22 14:14:28 +0000
commit90d503c74acaba56ca1233a0220ca98c4f58b87e (patch)
tree9bc3b10f4a0fd8997d4ae58831ba593e80787c2c /sound/audiostream.h
parenta8c8763da5fa358b03754891bf772b44df3cbff9 (diff)
downloadscummvm-rg350-90d503c74acaba56ca1233a0220ca98c4f58b87e.tar.gz
scummvm-rg350-90d503c74acaba56ca1233a0220ca98c4f58b87e.tar.bz2
scummvm-rg350-90d503c74acaba56ca1233a0220ca98c4f58b87e.zip
Clarify that all blocks of raw audio data are assumed to come from malloc()
svn-id: r47438
Diffstat (limited to 'sound/audiostream.h')
-rw-r--r--sound/audiostream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h
index d0051b89fb..4aad22914d 100644
--- a/sound/audiostream.h
+++ b/sound/audiostream.h
@@ -313,8 +313,8 @@ public:
* Queue a block of raw audio data for playback. This stream
* will play all queued buffers, in the order they were
* queued. After all data contained in them has been played,
- * the buffer will be delete[]'d (so make sure to allocate them
- * with new[], not with malloc).
+ * the buffer will be released using free(). So make sure to
+ * allocate them with malloc(), not with new[]).
*/
void queueBuffer(byte *data, uint32 size, DisposeAfterUse::Flag disposeAfterUse, byte flags);