summaryrefslogtreecommitdiff
path: root/src/gui/setup_audio.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-25 19:32:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-25 19:32:16 +0300
commitefb4b7ff6abee2932fd2a71e269f1d81c75618da (patch)
treee8b61af5bedc8174a720e649675fb6c3e65547c0 /src/gui/setup_audio.cpp
parent036b55e414e6f25c1187753c3de6ac561c022996 (diff)
downloadmanaplus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.gz
manaplus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.bz2
manaplus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.xz
manaplus-efb4b7ff6abee2932fd2a71e269f1d81c75618da.zip
Add option to enable/disable music fade out (disabled by default).
Diffstat (limited to 'src/gui/setup_audio.cpp')
-rw-r--r--src/gui/setup_audio.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/setup_audio.cpp b/src/gui/setup_audio.cpp
index 79bbc2d14..faea24c1e 100644
--- a/src/gui/setup_audio.cpp
+++ b/src/gui/setup_audio.cpp
@@ -82,6 +82,10 @@ Setup_Audio::Setup_Audio(const Widget2 *const widget) :
new SetupItemSlider(_("Music volume"), "", "musicVolume",
this, "musicVolumeEvent", 0, sound.getMaxVolume(), 150, true);
+ new SetupItemCheckBox(_("Enable music fade out (can be very slow)"), "",
+ "fadeoutmusic", this, "fadeoutmusicEvent");
+
+
new SetupItemIntTextField(_("Audio frequency"), "",
"audioFrequency", this, "audioFrequencyEvent", 14000, 192000);