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