diff options
author | Martin Kiewitz | 2010-01-01 13:11:34 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-01 13:11:34 +0000 |
commit | ea86c41cc535b066b222a883cba4a9cf17697d6b (patch) | |
tree | 356c90a1df4e3f1a2e6b6be010f97da7d71d34f6 | |
parent | 3ad4dc7c755a091bedff2ae2685e9136cde5c1af (diff) | |
download | scummvm-rg350-ea86c41cc535b066b222a883cba4a9cf17697d6b.tar.gz scummvm-rg350-ea86c41cc535b066b222a883cba4a9cf17697d6b.tar.bz2 scummvm-rg350-ea86c41cc535b066b222a883cba4a9cf17697d6b.zip |
Adding setNumLoops() to AudioStream class
svn-id: r46819
-rw-r--r-- | sound/audiostream.h | 3 |
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 |