SetPosition

This commit is contained in:
Glenn Maynard
2006-12-10 09:01:05 +00:00
parent 7385c1f4c1
commit ef5c5e20c1
2 changed files with 3 additions and 6 deletions
+2 -2
View File
@@ -182,7 +182,7 @@ void RageSoundReader_Chain::Finish()
sort( m_aSounds.begin(), m_aSounds.end() );
}
int RageSoundReader_Chain::SetPosition_Accurate( int iFrame )
int RageSoundReader_Chain::SetPosition( int iFrame )
{
/* Clear m_apActiveSounds. */
while( !m_apActiveSounds.empty() )
@@ -206,7 +206,7 @@ int RageSoundReader_Chain::SetPosition_Accurate( int iFrame )
RageSoundReader *pReader = pSound->pSound;
int iOffsetFrames = iFrame - iOffsetFrame;
if( iOffsetFrames > 0 && pReader->SetPosition_Accurate(iOffsetFrames) == 0 )
if( iOffsetFrames > 0 && pReader->SetPosition(iOffsetFrames) == 0 )
{
/* We're past the end of this sound. */
ReleaseSound( pSound );