remove pSound param

This commit is contained in:
Glenn Maynard
2006-12-13 09:17:48 +00:00
parent 2377925f41
commit 95f72debdc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -639,7 +639,7 @@ int64_t RageSound::GetPositionSecondsInternal( bool *bApproximate ) const
}
/* Get our current hardware position. */
int64_t iCurrentHardwareFrame = SOUNDMAN->GetPosition(this);
int64_t iCurrentHardwareFrame = SOUNDMAN->GetPosition();
/* It's sometimes possible for the hardware position to move backwards, usually
* on underrun. We can try to prevent this in each driver, but it's an obscure
+1 -1
View File
@@ -104,7 +104,7 @@ bool RageSoundManager::Pause( RageSoundBase *pSound, bool bPause )
return m_pDriver->PauseMixing( pSound, bPause );
}
int64_t RageSoundManager::GetPosition( const RageSoundBase *pSound ) const
int64_t RageSoundManager::GetPosition() const
{
if( m_pDriver == NULL )
return 0;
+1 -1
View File
@@ -37,7 +37,7 @@ public:
void StartMixing( RageSoundBase *snd ); /* used by RageSound */
void StopMixing( RageSoundBase *snd ); /* used by RageSound */
bool Pause( RageSoundBase *snd, bool bPause ); /* used by RageSound */
int64_t GetPosition( const RageSoundBase *snd ) const; /* used by RageSound */
int64_t GetPosition() const; /* used by RageSound */
void RegisterSound( RageSound *p ); /* used by RageSound */
void UnregisterSound( RageSound *p ); /* used by RageSound */
int GetUniqueID(); /* used by RageSound */