aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-01 22:56:18 +0000
committerJohannes Schickel2010-01-01 22:56:18 +0000
commit2e9d5a5f41636054f57b4a90b3f9165902963c3c (patch)
tree79c3c2bec1020b0cff8f172bd9d8e0080b565485
parent6109275750a3b9df41649a5787923e0578109f8b (diff)
downloadscummvm-rg350-2e9d5a5f41636054f57b4a90b3f9165902963c3c.tar.gz
scummvm-rg350-2e9d5a5f41636054f57b4a90b3f9165902963c3c.tar.bz2
scummvm-rg350-2e9d5a5f41636054f57b4a90b3f9165902963c3c.zip
Mention in documentation of AudioStream::setNumLoops, that this function also resets the number of loops played counter.
svn-id: r46862
-rw-r--r--sound/audiostream.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h
index b5c95079f3..ac4f783f28 100644
--- a/sound/audiostream.h
+++ b/sound/audiostream.h
@@ -100,6 +100,10 @@ public:
/**
* Sets number of times the stream is supposed to get looped
+ * This also resets the number of loops played counter, which
+ * can be queried with getNumPlayedLoops.
+ * @see getNumPlayedLoops
+ *
* @param numLoops number of loops to play, 0 - infinite
*/
virtual void setNumLoops(uint numLoops = 1) {}