From e04b8bb457c6503e0fd6a88e2175c7b8b45c8bce Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 Feb 2004 02:47:15 +0000 Subject: [PATCH] fix stop mode --- stepmania/src/RageSound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index e58f804134..30d2eecd13 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -395,7 +395,7 @@ int RageSound::GetPCM( char *buffer, int size, int64_t frameno ) continue; /* we have more */ /* We're at the end of the data. If we're looping, rewind and restart. */ - if( m_Param.StopMode == RageSoundParams::M_LOOP ) + if( GetStopMode() == RageSoundParams::M_LOOP ) { NumRewindsThisCall++; if(NumRewindsThisCall > 3) @@ -430,7 +430,7 @@ int RageSound::GetPCM( char *buffer, int size, int64_t frameno ) } /* Not looping. Normally, we'll just stop here. */ - if( m_Param.StopMode == RageSoundParams::M_STOP ) + if( GetStopMode() == RageSoundParams::M_STOP ) break; /* We're out of data, but we're not going to stop, so fill in the