remove unused
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user