summaryrefslogtreecommitdiff
path: root/src/soundmanager.h
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/soundmanager.h
parent69f995bb5124c19746ff026f4e64c7398611e9f0 (diff)
downloadmanaverse-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.gz
manaverse-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.bz2
manaverse-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.tar.xz
manaverse-ae01890fb7661acfb94bd9a51b5269c6ada2c66b.zip
Add option for change number of max parallel sounds.
Diffstat (limited to 'src/soundmanager.h')
-rw-r--r--src/soundmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soundmanager.h b/src/soundmanager.h
index 01c2d5627..f4dca4cd1 100644
--- a/src/soundmanager.h
+++ b/src/soundmanager.h
@@ -142,6 +142,8 @@ class SoundManager final : public ConfigListener
void shutdown();
+ void setChannels(const int channels) const;
+
private:
/** Logs various info about sound device. */
static void info();