summaryrefslogtreecommitdiff
path: root/src/gui
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
parent036b55e414e6f25c1187753c3de6ac561c022996 (diff)
downloadmv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.gz
mv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.bz2
mv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.tar.xz
mv-efb4b7ff6abee2932fd2a71e269f1d81c75618da.zip
Add option to enable/disable music fade out (disabled by default).
Diffstat (limited to 'src/gui')
-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);