PREFSMAN->m_iSoundPreferredSampleRate == 0 means "do what's right for the hardware". We want a 44.1khz default for most systems, but KS should default to 48khz.
This commit is contained in:
@@ -29,6 +29,8 @@ int64_t RageSound_Null::GetPosition( const RageSoundBase *snd ) const
|
||||
RageSound_Null::RageSound_Null()
|
||||
{
|
||||
m_iSampleRate = PREFSMAN->m_iSoundPreferredSampleRate;
|
||||
if( m_iSampleRate == 0 )
|
||||
m_iSampleRate = 44100;
|
||||
m_iLastCursorPos = GetPosition( NULL );
|
||||
StartDecodeThread();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user