From af34e8b4807d981cdd75542c48be741059e91828 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Mon, 18 Jan 2010 02:57:12 +0100 Subject: added calculations to swap from relative mode to absolute beat times --- src/base/song.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/base/song.hpp') diff --git a/src/base/song.hpp b/src/base/song.hpp index af613370..91d22742 100644 --- a/src/base/song.hpp +++ b/src/base/song.hpp @@ -83,6 +83,14 @@ namespace usdx LyricLine* get_last_lyric_line(void); LyricLine* create_new_lyric_line(int start); + + /** + * Used to calculate the absolute beat times in relative song + * mode. + * + * @return Start beat time from last line. + */ + int get_relative_beat(void); public: Song(const std::string& filename, const std::map& header); virtual ~Song(void); -- cgit v1.2.3