aboutsummaryrefslogtreecommitdiff
path: root/sound/audiostream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/audiostream.cpp')
-rw-r--r--sound/audiostream.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp
index 13ae4eedb4..61a2e778ab 100644
--- a/sound/audiostream.cpp
+++ b/sound/audiostream.cpp
@@ -150,6 +150,7 @@ public:
bool endOfData() const { return _ptr >= _end; }
int getRate() const { return _rate; }
+ int32 getTotalPlayTime() const { return _playtime; }
};
template<bool stereo, bool is16Bit, bool isUnsigned, bool isLE>