remove SetPositionSeconds. Use m_Param.m_StartSecond.

This commit is contained in:
Glenn Maynard
2006-12-23 22:30:35 +00:00
parent ff8237c56b
commit eaf12eb84f
2 changed files with 0 additions and 12 deletions
-11
View File
@@ -470,17 +470,6 @@ float RageSound::GetPositionSeconds( bool *bApproximate, RageTimer *pTimestamp )
}
bool RageSound::SetPositionSeconds( float fSeconds )
{
if( m_pSource == NULL )
{
LOG->Warn( "RageSound::SetPositionSeconds(%f): sound not loaded", fSeconds );
return false;
}
return SetPositionFrames( int(fSeconds * samplerate()) );
}
/* This is always the desired sample rate of the current driver. */
int RageSound::GetSampleRate() const
{
-1
View File
@@ -128,7 +128,6 @@ public:
float GetLengthSeconds();
float GetPositionSeconds( bool *approximate=NULL, RageTimer *Timestamp=NULL ) const;
int GetSampleRate() const;
bool SetPositionSeconds( float fSeconds );
RString GetLoadedFilePath() const { return m_sFilePath; }
bool IsPlaying() const { return m_bPlaying; }