Fix audio drivers with a low sample count maximum value (#1697)

This commit is contained in:
Chris Pable
2018-08-02 08:28:24 -07:00
committed by Colby Klein
parent b0ef8d9f00
commit c200600c65
8 changed files with 123 additions and 43 deletions
+6
View File
@@ -55,6 +55,12 @@ RageSoundManager::~RageSoundManager()
m_mapPreloadedSounds.clear();
}
void RageSoundManager::low_sample_count_workaround()
{
m_pDriver->low_sample_count_workaround();
}
void RageSoundManager::fix_bogus_sound_driver_pref(RString const& valid_setting)
{
g_sSoundDrivers.Set(valid_setting);