From 17bea0aab79d01b280e8e6bbcf85e1882afe262f Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 26 May 2011 14:11:11 -0400 Subject: [PATCH] Doxygen, restart of autosync split timing. This time, take it a step at a time... or try to anyway. --- src/AdjustSync.cpp | 1 + src/AdjustSync.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/AdjustSync.cpp b/src/AdjustSync.cpp index b375928a25..6529ebda31 100644 --- a/src/AdjustSync.cpp +++ b/src/AdjustSync.cpp @@ -43,6 +43,7 @@ #include "Foreach.h" TimingData *AdjustSync::s_pTimingDataOriginal = NULL; +vector AdjustSync::s_vpTimingDataOriginal; float AdjustSync::s_fGlobalOffsetSecondsOriginal = 0.0f; int AdjustSync::s_iAutosyncOffsetSample = 0; float AdjustSync::s_fAutosyncOffset[AdjustSync::OFFSET_SAMPLE_COUNT]; diff --git a/src/AdjustSync.h b/src/AdjustSync.h index 10a0810bd3..80c1c87943 100644 --- a/src/AdjustSync.h +++ b/src/AdjustSync.h @@ -13,7 +13,15 @@ class TimingData; class AdjustSync { public: + /** @brief The original TimingData before adjustments are made. */ static TimingData *s_pTimingDataOriginal; + + /** + * @brief The original TimingData before adjustments were made. + * + * This is designed to work with Split Timing. */ + static vector s_vpTimingDataOriginal; + static float s_fGlobalOffsetSecondsOriginal; /* We only want to call the Reset methods before a song, not immediately after * a song. If we reset it at the end of a song, we have to carefully check