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