remove GetPlayingSounds

This commit is contained in:
Glenn Maynard
2004-11-15 05:18:50 +00:00
parent 6e0a17d42c
commit 4a615a8d1e
2 changed files with 0 additions and 9 deletions
-8
View File
@@ -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. */
-1
View File
@@ -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. */