add RageSounds::GetPlayLatency
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user