remove GetPlayingSounds
This commit is contained in:
@@ -217,14 +217,6 @@ RageSound *RageSoundManager::PlaySound( RageSound &snd, const RageSoundParams *p
|
||||
return sound_to_play;
|
||||
}
|
||||
|
||||
/* XXX: If this is ever called from a thread, it should take a bLockSounds parameter,
|
||||
* like GetCopies. */
|
||||
set<RageSound *> RageSoundManager::GetPlayingSounds() const
|
||||
{
|
||||
LockMut(g_SoundManMutex); /* lock for access to playing_sounds */
|
||||
return playing_sounds;
|
||||
}
|
||||
|
||||
void RageSoundManager::DeleteSound( RageSound *p )
|
||||
{
|
||||
/* Stop playing the sound. */
|
||||
|
||||
@@ -50,7 +50,6 @@ public:
|
||||
void CommitPlayingPosition( int ID, int64_t frameno, int pos, int got_bytes ); /* used by drivers */
|
||||
float GetPlayLatency() const;
|
||||
int GetDriverSampleRate( int rate ) const;
|
||||
set<RageSound *> GetPlayingSounds() const;
|
||||
|
||||
/* When deleting a sound from any thread except the one calling Update(), this
|
||||
* must be used to prevent race conditions. */
|
||||
|
||||
Reference in New Issue
Block a user