diff --git a/stepmania/src/RageSoundManager.cpp b/stepmania/src/RageSoundManager.cpp index 168643d758..0924e55f6e 100644 --- a/stepmania/src/RageSoundManager.cpp +++ b/stepmania/src/RageSoundManager.cpp @@ -179,18 +179,6 @@ int RageSoundManager::GetUniqueID() return ++iID; } -RageSound *RageSoundManager::GetSoundByID( int ID ) -{ - LockMut( g_SoundManMutex ); - - /* Find the sound with p.ID. */ - map::iterator it; - it = all_sounds.find( ID ); - if( it == all_sounds.end() ) - return NULL; - return it->second; -} - float RageSoundManager::GetPlayLatency() const { if( m_pDriver == NULL ) diff --git a/stepmania/src/RageSoundManager.h b/stepmania/src/RageSoundManager.h index cd132ee612..644e1cc595 100644 --- a/stepmania/src/RageSoundManager.h +++ b/stepmania/src/RageSoundManager.h @@ -73,8 +73,6 @@ private: /* Prefs: */ float m_fMixVolume; bool m_bPlayOnlyCriticalSounds; - - RageSound *GetSoundByID( int ID ); }; extern RageSoundManager *SOUNDMAN;