GetPosition() -> GetHardwareFrame; handle timing retry in the driver,

so the logic is available to the driver
This commit is contained in:
Glenn Maynard
2006-12-22 22:22:01 +00:00
parent 4dd1f97875
commit bafea3b7ab
7 changed files with 49 additions and 40 deletions
+2 -2
View File
@@ -103,11 +103,11 @@ bool RageSoundManager::Pause( RageSoundBase *pSound, bool bPause )
return m_pDriver->PauseMixing( pSound, bPause );
}
int64_t RageSoundManager::GetPosition() const
int64_t RageSoundManager::GetPosition( RageTimer *pTimer ) const
{
if( m_pDriver == NULL )
return 0;
return m_pDriver->GetPosition();
return m_pDriver->GetHardwareFrame( pTimer );
}
void RageSoundManager::Update()