aboutsummaryrefslogtreecommitdiff
path: root/sound/vorbis.h
diff options
context:
space:
mode:
authorMax Horn2006-03-03 15:36:12 +0000
committerMax Horn2006-03-03 15:36:12 +0000
commita836a83d84b26fd75fab7637641f77334b5e6827 (patch)
treeb3a39c480ebd9c2164423737a37473962ec84b00 /sound/vorbis.h
parenta1a6967d76fc3cc8d43b2994d24a2b16a8192277 (diff)
downloadscummvm-rg350-a836a83d84b26fd75fab7637641f77334b5e6827.tar.gz
scummvm-rg350-a836a83d84b26fd75fab7637641f77334b5e6827.tar.bz2
scummvm-rg350-a836a83d84b26fd75fab7637641f77334b5e6827.zip
Explain the (admittedly strange) usage of some of our makeXXXStream factory functions
svn-id: r21040
Diffstat (limited to 'sound/vorbis.h')
-rw-r--r--sound/vorbis.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/vorbis.h b/sound/vorbis.h
index 0e7b715927..ee8943cdde 100644
--- a/sound/vorbis.h
+++ b/sound/vorbis.h
@@ -36,6 +36,12 @@ namespace Common {
DigitalTrackInfo *getVorbisTrack(int track);
+/**
+ * Create a new AudioStream from the Vorbis data in the given
+ * file. If you only want to play part of that file, then seek
+ * to the start position in file before passing it to this
+ * factory function, and specify the appropriate size.
+ */
AudioStream *makeVorbisStream(Common::File *file, uint32 size);
#endif