From 2e9d5a5f41636054f57b4a90b3f9165902963c3c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 1 Jan 2010 22:56:18 +0000 Subject: Mention in documentation of AudioStream::setNumLoops, that this function also resets the number of loops played counter. svn-id: r46862 --- sound/audiostream.h | 4 ++++ 1 file changed, 4 insertions(+) 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) {} -- cgit v1.2.3