Remove m_iRageSoundSampleCountClamp preference

Windows XP era DirectSound hack - removing the functions that used this.
This commit is contained in:
sukibaby
2024-10-01 13:03:06 -07:00
committed by teejusb
parent 584fca49b7
commit 57afab25c1
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -284,7 +284,6 @@ PrefsManager::PrefsManager() :
m_bSmoothLines ( "SmoothLines", true ), m_bSmoothLines ( "SmoothLines", true ),
m_iSoundWriteAhead ( "SoundWriteAhead", 0 ), m_iSoundWriteAhead ( "SoundWriteAhead", 0 ),
m_iSoundDevice ( "SoundDevice", "" ), m_iSoundDevice ( "SoundDevice", "" ),
m_iRageSoundSampleCountClamp ("RageSoundSampleCountClamp", 0), //some sound drivers mask the sample location number, the most popular number for this is 2^27, this causes lockup after ~50 minutes at 44.1khz sample rate
m_iSoundPreferredSampleRate ( "SoundPreferredSampleRate", 0 ), m_iSoundPreferredSampleRate ( "SoundPreferredSampleRate", 0 ),
m_sLightsStepsDifficulty ( "LightsStepsDifficulty", "hard,medium" ), m_sLightsStepsDifficulty ( "LightsStepsDifficulty", "hard,medium" ),
m_bLightsSimplifyBass ( "LightsSimplifyBass", false), m_bLightsSimplifyBass ( "LightsSimplifyBass", false),
-1
View File
@@ -310,7 +310,6 @@ public:
Preference<bool> m_bSmoothLines; Preference<bool> m_bSmoothLines;
Preference<int> m_iSoundWriteAhead; Preference<int> m_iSoundWriteAhead;
Preference<RString> m_iSoundDevice; Preference<RString> m_iSoundDevice;
Preference<int> m_iRageSoundSampleCountClamp;
Preference<int> m_iSoundPreferredSampleRate; Preference<int> m_iSoundPreferredSampleRate;
Preference<RString> m_sLightsStepsDifficulty; Preference<RString> m_sLightsStepsDifficulty;
Preference<bool> m_bLightsSimplifyBass; Preference<bool> m_bLightsSimplifyBass;