diff options
Diffstat (limited to 'sound')
-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 |