remove unused
This commit is contained in:
@@ -199,15 +199,6 @@ RageSound *RageSoundManager::PlayCopyOfSound( RageSound &snd, const RageSoundPar
|
|||||||
return pSound;
|
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 )
|
void RageSoundManager::DeleteSoundWhenFinished( RageSound *pSound )
|
||||||
{
|
{
|
||||||
g_SoundManMutex.Lock(); /* lock for access to owned_sounds */
|
g_SoundManMutex.Lock(); /* lock for access to owned_sounds */
|
||||||
|
|||||||
@@ -42,9 +42,6 @@ public:
|
|||||||
float GetPlayLatency() const;
|
float GetPlayLatency() const;
|
||||||
int GetDriverSampleRate() 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 );
|
void DeleteSoundWhenFinished( RageSound *pSound );
|
||||||
|
|
||||||
RageSoundReader *GetLoadedSound( const RString &sPath );
|
RageSoundReader *GetLoadedSound( const RString &sPath );
|
||||||
|
|||||||
Reference in New Issue
Block a user