diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index c74fefb0a6..a54b6ae369 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -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 { diff --git a/stepmania/src/RageSound.h b/stepmania/src/RageSound.h index d545910a39..848c4bbef5 100644 --- a/stepmania/src/RageSound.h +++ b/stepmania/src/RageSound.h @@ -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; }