remove unused

This commit is contained in:
Glenn Maynard
2007-01-18 07:36:47 +00:00
parent e7393b0cbe
commit 984bba5326
2 changed files with 0 additions and 12 deletions
-9
View File
@@ -199,15 +199,6 @@ RageSound *RageSoundManager::PlayCopyOfSound( RageSound &snd, const RageSoundPar
return pSound;
}
void RageSoundManager::DeleteSound( RageSound *pSound )
{
/* Stop playing the sound. */
pSound->StopPlaying();
/* We might be in a thread, so don't delete it here. */
DeleteSoundWhenFinished( pSound );
}
void RageSoundManager::DeleteSoundWhenFinished( RageSound *pSound )
{
g_SoundManMutex.Lock(); /* lock for access to owned_sounds */
-3
View File
@@ -42,9 +42,6 @@ public:
float GetPlayLatency() const;
int GetDriverSampleRate() const;
/* When deleting a sound from any thread except the one calling Update(), this
* must be used to prevent race conditions. */
void DeleteSound( RageSound *pSound );
void DeleteSoundWhenFinished( RageSound *pSound );
RageSoundReader *GetLoadedSound( const RString &sPath );