aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-01 13:11:34 +0000
committerMartin Kiewitz2010-01-01 13:11:34 +0000
commitea86c41cc535b066b222a883cba4a9cf17697d6b (patch)
tree356c90a1df4e3f1a2e6b6be010f97da7d71d34f6 /sound
parent3ad4dc7c755a091bedff2ae2685e9136cde5c1af (diff)
downloadscummvm-rg350-ea86c41cc535b066b222a883cba4a9cf17697d6b.tar.gz
scummvm-rg350-ea86c41cc535b066b222a883cba4a9cf17697d6b.tar.bz2
scummvm-rg350-ea86c41cc535b066b222a883cba4a9cf17697d6b.zip
Adding setNumLoops() to AudioStream class
svn-id: r46819
Diffstat (limited to 'sound')
-rw-r--r--sound/audiostream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h
index 0dada8abeb..f8efbf1c6f 100644
--- a/sound/audiostream.h
+++ b/sound/audiostream.h
@@ -102,6 +102,9 @@ public:
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