remove RegisterPlayingSound, UnregisterPlayingSound

This commit is contained in:
Glenn Maynard
2004-11-15 05:15:06 +00:00
parent e990931b61
commit 36e7a78ea6
2 changed files with 0 additions and 16 deletions
-14
View File
@@ -144,20 +144,6 @@ int RageSoundManager::GetUniqueID()
return ++iID;
}
void RageSoundManager::RegisterPlayingSound( RageSound *p )
{
g_SoundManMutex.Lock(); /* lock for access to playing_sounds */
SOUNDMAN->playing_sounds.insert( p );
g_SoundManMutex.Unlock(); /* finished with playing_sounds */
}
void RageSoundManager::UnregisterPlayingSound( RageSound *p )
{
g_SoundManMutex.Lock(); /* lock for access to playing_sounds */
SOUNDMAN->playing_sounds.erase( p );
g_SoundManMutex.Unlock(); /* finished with playing_sounds */
}
void RageSoundManager::CommitPlayingPosition( int ID, int64_t frameno, int pos, int got_frames )
{
/* This can be called from realtime threads; don't lock any mutexes. */
-2
View File
@@ -47,8 +47,6 @@ public:
void RegisterSound( RageSound *p ); /* used by RageSound */
void UnregisterSound( RageSound *p ); /* used by RageSound */
int GetUniqueID(); /* used by RageSound */
void RegisterPlayingSound( RageSound *p ); /* used by RageSound */
void UnregisterPlayingSound( RageSound *p ); /* used by RageSound */
void CommitPlayingPosition( int ID, int64_t frameno, int pos, int got_bytes ); /* used by drivers */
float GetPlayLatency() const;
int GetDriverSampleRate( int rate ) const;