mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #1085 from Areloch/AudioOptionsUpdateFix
Fixes the issue of changing audio settings causing the SFX re-init'ing to fail
This commit is contained in:
commit
626de074cc
|
|
@ -685,7 +685,7 @@ function populateAudioSettingsList()
|
|||
}
|
||||
}
|
||||
|
||||
OptionsMenuSettingsList.addOptionRow("Audio Provider", "$pref::SFX::AudioProvider", %audioProviderList, false, "audioProviderChanged", true, "");
|
||||
OptionsMenuSettingsList.addOptionRow("Audio Provider", "$pref::SFX::provider", %audioProviderList, false, "audioProviderChanged", true, "");
|
||||
OptionsMenuSettingsList.addOptionRow("Audio Device", "$pref::SFX::device", %audioDeviceList, false, "", true);
|
||||
|
||||
OptionsMenuSettingsList.addSliderRow("Master Volume", "$pref::SFX::masterVolume", 0.1, "0 1", "");
|
||||
|
|
|
|||
|
|
@ -82,10 +82,6 @@ $pref::SFX::autoDetect = true;
|
|||
/// plays no sound.
|
||||
$pref::SFX::provider = "OpenAL";
|
||||
|
||||
/// The sound device to select from the provider. Each
|
||||
/// provider may have several different devices.
|
||||
$pref::SFX::device = "OpenAL Soft";
|
||||
|
||||
/// If true the device will try to use hardware buffers
|
||||
/// and sound mixing. If not it will use software.
|
||||
$pref::SFX::useHardware = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue