Windows dedicated build updates

This commit is contained in:
Chris Cannam
2022-06-14 17:03:33 +01:00
parent 2c57d0ee30
commit bbb5db3087
3 changed files with 44 additions and 103 deletions

View File

@@ -424,7 +424,8 @@ StretchCalculator::calculateSingle(double timeRatio,
int64_t intended, projected;
if (alignFrameStarts) { // R3
intended = expectedOutFrame(m_inFrameCounter, timeRatio);
projected = m_outFrameCounter;
projected =
int64_t(round(m_outFrameCounter));
} else { // R2
intended = expectedOutFrame
(m_inFrameCounter + analysisWindowSize/4, timeRatio);