[Scummvm-cvs-logs] SF.net SVN: scummvm:[46819] scummvm/trunk/sound/audiostream.h

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Fri Jan 1 14:11:35 CET 2010


Revision: 46819
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46819&view=rev
Author:   m_kiewitz
Date:     2010-01-01 13:11:34 +0000 (Fri, 01 Jan 2010)

Log Message:
-----------
Adding setNumLoops() to AudioStream class

Modified Paths:
--------------
    scummvm/trunk/sound/audiostream.h

Modified: scummvm/trunk/sound/audiostream.h
===================================================================
--- scummvm/trunk/sound/audiostream.h	2010-01-01 12:58:01 UTC (rev 46818)
+++ scummvm/trunk/sound/audiostream.h	2010-01-01 13:11:34 UTC (rev 46819)
@@ -102,6 +102,9 @@
 		kUnknownPlayTime = -1
 	};
 
+	/** Set number of times the stream is supposed to get looped, 0 - infinite times */
+	virtual void setNumLoops(uint numLoops = 1) {};
+
 	/**
 	 * Returns total playtime of the AudioStream object.
 	 * Note that this does not require to return an playtime, if the


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list