diff --git a/stepmania/src/RageSoundManager.cpp b/stepmania/src/RageSoundManager.cpp index cc563148df..c15f36d69c 100644 --- a/stepmania/src/RageSoundManager.cpp +++ b/stepmania/src/RageSoundManager.cpp @@ -144,20 +144,6 @@ int RageSoundManager::GetUniqueID() return ++iID; } -void RageSoundManager::RegisterPlayingSound( RageSound *p ) -{ - g_SoundManMutex.Lock(); /* lock for access to playing_sounds */ - SOUNDMAN->playing_sounds.insert( p ); - g_SoundManMutex.Unlock(); /* finished with playing_sounds */ -} - -void RageSoundManager::UnregisterPlayingSound( RageSound *p ) -{ - g_SoundManMutex.Lock(); /* lock for access to playing_sounds */ - SOUNDMAN->playing_sounds.erase( p ); - g_SoundManMutex.Unlock(); /* finished with playing_sounds */ -} - void RageSoundManager::CommitPlayingPosition( int ID, int64_t frameno, int pos, int got_frames ) { /* This can be called from realtime threads; don't lock any mutexes. */ diff --git a/stepmania/src/RageSoundManager.h b/stepmania/src/RageSoundManager.h index dabb9aaff8..0997ac3573 100644 --- a/stepmania/src/RageSoundManager.h +++ b/stepmania/src/RageSoundManager.h @@ -47,8 +47,6 @@ public: void RegisterSound( RageSound *p ); /* used by RageSound */ void UnregisterSound( RageSound *p ); /* used by RageSound */ int GetUniqueID(); /* used by RageSound */ - void RegisterPlayingSound( RageSound *p ); /* used by RageSound */ - void UnregisterPlayingSound( RageSound *p ); /* used by RageSound */ void CommitPlayingPosition( int ID, int64_t frameno, int pos, int got_bytes ); /* used by drivers */ float GetPlayLatency() const; int GetDriverSampleRate( int rate ) const;