add RageSounds::GetPlayLatency

This commit is contained in:
Glenn Maynard
2003-07-26 22:50:54 +00:00
parent 237a140cdb
commit beca62eee1
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -70,6 +70,11 @@ void RageSounds::PlayOnceFromDir( CString PlayOnceFromDir )
SOUNDMAN->PlayOnceFromDir( PlayOnceFromDir ); SOUNDMAN->PlayOnceFromDir( PlayOnceFromDir );
} }
float RageSounds::GetPlayLatency() const
{
return SOUNDMAN->GetPlayLatency();
}
/* /*
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved. Copyright (c) 2002-2003 by the person(s) listed below. All rights reserved.
+2
View File
@@ -18,6 +18,8 @@ public:
void PlayOnce( CString sPath ); void PlayOnce( CString sPath );
void PlayOnceFromDir( CString sDir ); void PlayOnceFromDir( CString sDir );
float GetPlayLatency() const;
}; };
extern RageSounds *SOUND; extern RageSounds *SOUND;