summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_audio.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-15 01:29:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-15 01:29:38 +0300
commitae01890fb7661acfb94bd9a51b5269c6ada2c66b (patch)
treefa925a19b22f9dc41fdbb6a738d28d1098dc30ff /src/gui/widgets/tabs/setup_audio.cpp
parent69f995bb5124c19746ff026f4e64c7398611e9f0 (diff)
downloadplus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.gz
plus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.bz2
plus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.xz
plus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.zip
Add option for change number of max parallel sounds.
Diffstat (limited to 'src/gui/widgets/tabs/setup_audio.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_audio.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_audio.cpp b/src/gui/widgets/tabs/setup_audio.cpp
index bd8097318..6275ff59a 100644
--- a/src/gui/widgets/tabs/setup_audio.cpp
+++ b/src/gui/widgets/tabs/setup_audio.cpp
@@ -107,6 +107,10 @@ Setup_Audio::Setup_Audio(const Widget2 *const widget) :
MainConfig_true,
DoNotAlign_false);
+ // TRANSLATORS: settings option
+ new SetupItemIntTextField(_("Parallel number of sounds"), "",
+ "parallelAudioChannels", this, "parallelAudioChannelsEvent", 1, 1000);
+
// TRANSLATORS: settings group
new SetupItemLabel(_("Sound effects"), "", this);