remove GameSoundManager::GetPlayLatency

This commit is contained in:
Glenn Maynard
2007-01-18 09:15:25 +00:00
parent 008ea63793
commit 97f06ab454
2 changed files with 1 additions and 7 deletions
+1 -6
View File
@@ -205,7 +205,7 @@ static void StartMusic( MusicToPlay &ToPlay )
/* GetPlayLatency returns the minimum time until a sound starts. That's
* common when starting a precached sound, but our sound isn't, so it'll
* probably take a little longer. Nudge the latency up. */
const float fPresumedLatency = SOUND->GetPlayLatency() + 0.040f;
const float fPresumedLatency = SOUNDMAN->GetPlayLatency() + 0.040f;
const float fCurSecond = GAMESTATE->m_fMusicSeconds + fPresumedLatency;
const float fCurBeat = g_Playing->m_Timing.GetBeatFromElapsedTimeNoOffset( fCurSecond );
@@ -715,11 +715,6 @@ void GameSoundManager::PlayOnceFromAnnouncer( RString sPath )
g_Mutex->Unlock();
}
float GameSoundManager::GetPlayLatency() const
{
return SOUNDMAN->GetPlayLatency();
}
float GameSoundManager::GetPlayerBalance( PlayerNumber pn )
{
/* If two players are active, play sounds on each players' side. */