From 53b4dc4b7c71406469195c2223e1977a54a8f6f6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 22 Dec 2006 08:16:17 +0000 Subject: [PATCH] fix GetNextSourceFrame < 0 --- stepmania/src/RageSoundReader_Resample_Good.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/RageSoundReader_Resample_Good.cpp b/stepmania/src/RageSoundReader_Resample_Good.cpp index 320db812f7..8691c597cb 100644 --- a/stepmania/src/RageSoundReader_Resample_Good.cpp +++ b/stepmania/src/RageSoundReader_Resample_Good.cpp @@ -567,7 +567,7 @@ private: int RageSoundReader_Resample_Good::GetNextSourceFrame() const { - uint64_t iPosition = m_pSource->GetNextSourceFrame(); + int64_t iPosition = m_pSource->GetNextSourceFrame(); iPosition -= m_apResamplers[0]->GetFilled(); iPosition *= m_iSampleRate;