]> git.localhorst.tv Git - blank.git/blobdiff - src/audio/Sound.hpp
tests for TokenStreamReader
[blank.git] / src / audio / Sound.hpp
index abbb27bd07ff388816f7b9e99d905d67c5d57089..abd31784211fc7b1831e7c3b988165a28d1693d1 100644 (file)
@@ -22,8 +22,12 @@ public:
 public:
        void Bind(ALuint src) const;
 
+       /// full duration in milliseconds
+       int Duration() const noexcept { return duration; }
+
 private:
        ALuint handle;
+       int duration;
 
 };