remove RageSoundManager::GetSoundByID
This commit is contained in:
@@ -179,18 +179,6 @@ int RageSoundManager::GetUniqueID()
|
|||||||
return ++iID;
|
return ++iID;
|
||||||
}
|
}
|
||||||
|
|
||||||
RageSound *RageSoundManager::GetSoundByID( int ID )
|
|
||||||
{
|
|
||||||
LockMut( g_SoundManMutex );
|
|
||||||
|
|
||||||
/* Find the sound with p.ID. */
|
|
||||||
map<int,RageSound *>::iterator it;
|
|
||||||
it = all_sounds.find( ID );
|
|
||||||
if( it == all_sounds.end() )
|
|
||||||
return NULL;
|
|
||||||
return it->second;
|
|
||||||
}
|
|
||||||
|
|
||||||
float RageSoundManager::GetPlayLatency() const
|
float RageSoundManager::GetPlayLatency() const
|
||||||
{
|
{
|
||||||
if( m_pDriver == NULL )
|
if( m_pDriver == NULL )
|
||||||
|
|||||||
@@ -73,8 +73,6 @@ private:
|
|||||||
/* Prefs: */
|
/* Prefs: */
|
||||||
float m_fMixVolume;
|
float m_fMixVolume;
|
||||||
bool m_bPlayOnlyCriticalSounds;
|
bool m_bPlayOnlyCriticalSounds;
|
||||||
|
|
||||||
RageSound *GetSoundByID( int ID );
|
|
||||||
};
|
};
|
||||||
|
|
||||||
extern RageSoundManager *SOUNDMAN;
|
extern RageSoundManager *SOUNDMAN;
|
||||||
|
|||||||
Reference in New Issue
Block a user