remove unneeded
fix use before init
This commit is contained in:
@@ -26,10 +26,8 @@ int64_t RageSound_Null::GetPosition( const RageSoundBase *snd ) const
|
||||
|
||||
RageSound_Null::RageSound_Null()
|
||||
{
|
||||
m_iLastCursorPos = GetPosition( NULL );
|
||||
m_iSampleRate = PREFSMAN->m_iSoundPreferredSampleRate;
|
||||
if( m_iSampleRate == -1 )
|
||||
m_iSampleRate = 44100;
|
||||
m_iLastCursorPos = GetPosition( NULL );
|
||||
StartDecodeThread();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user