From 3877fb735d45d5405d3f47533b3cb9221f2b81e2 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Tue, 28 Dec 2010 13:46:49 -0600 Subject: [PATCH] small comment thing --- src/TimingData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TimingData.cpp b/src/TimingData.cpp index 5af204256a..bf1d9e2819 100644 --- a/src/TimingData.cpp +++ b/src/TimingData.cpp @@ -290,7 +290,6 @@ void TimingData::GetBeatAndBPSFromElapsedTimeNoOffset( float fElapsedTime, float if( !bIsLastBPMSegment && m_WarpSegments[j].m_iStartRow > iStartRowNextSegment ) continue; - // are these wrong? am I second guessing myself? /* const int iRowsBeatsSinceStartOfSegment = m_WarpSegments[j].m_iStartRow - iStartRowThisSegment; const float fBeatsSinceStartOfSegment = NoteRowToBeat(iRowsBeatsSinceStartOfSegment); @@ -307,6 +306,7 @@ void TimingData::GetBeatAndBPSFromElapsedTimeNoOffset( float fElapsedTime, float // this WarpSegment IS the current segment. // don't know how to properly handle beatout -aj //fBeatOut = NoteRowToBeat(m_WarpSegments[j].m_iStartRow); + fBeatOut = fStartBeatThisSegment + fElapsedTime*fBPS; fBPSOut = m_BPMSegments[i+1].m_fBPS; bFreezeOut = false; bDelayOut = false;