diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-15 01:29:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-15 01:29:38 +0300 |
commit | ae01890fb7661acfb94bd9a51b5269c6ada2c66b (patch) | |
tree | fa925a19b22f9dc41fdbb6a738d28d1098dc30ff /src/gui/widgets/tabs | |
parent | 69f995bb5124c19746ff026f4e64c7398611e9f0 (diff) | |
download | manaplus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.gz manaplus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.bz2 manaplus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.xz manaplus-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.zip |
Add option for change number of max parallel sounds.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setup_audio.cpp | 4 |
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); |