remove unneeded

fix use before init
This commit is contained in:
Glenn Maynard
2005-10-24 05:38:04 +00:00
parent a2c1b1443d
commit 2791f8f90b
@@ -26,10 +26,8 @@ int64_t RageSound_Null::GetPosition( const RageSoundBase *snd ) const
RageSound_Null::RageSound_Null() RageSound_Null::RageSound_Null()
{ {
m_iLastCursorPos = GetPosition( NULL );
m_iSampleRate = PREFSMAN->m_iSoundPreferredSampleRate; m_iSampleRate = PREFSMAN->m_iSoundPreferredSampleRate;
if( m_iSampleRate == -1 ) m_iLastCursorPos = GetPosition( NULL );
m_iSampleRate = 44100;
StartDecodeThread(); StartDecodeThread();
} }