From 4f00a0715ea29769a5988042b477da1091318823 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 18 Jan 2004 04:50:32 +0000 Subject: [PATCH] more accurate song pos --- stepmania/src/RageSounds.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageSounds.cpp b/stepmania/src/RageSounds.cpp index c880840bfb..45e0b43300 100644 --- a/stepmania/src/RageSounds.cpp +++ b/stepmania/src/RageSounds.cpp @@ -316,7 +316,8 @@ void RageSounds::Update( float fDeltaTime ) * data until we get a non-approximate time, indicating that the sound has actually * started playing. */ bool approximate; - const float fSeconds = g_Playing->m_Music.GetPositionSeconds( &approximate ); + RageTimer tm; + const float fSeconds = g_Playing->m_Music.GetPositionSeconds( &approximate, &tm ); if( g_Playing->m_TimingDelayed && !approximate ) { @@ -334,7 +335,7 @@ void RageSounds::Update( float fDeltaTime ) return; } - GAMESTATE->UpdateSongPosition( fSeconds, g_Playing->m_Timing ); + GAMESTATE->UpdateSongPosition( fSeconds, g_Playing->m_Timing, tm ); }