summaryrefslogtreecommitdiff
path: root/src/soundmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:49:08 +0300
commit5c3746562bafd61603c67958fc82ff097a69e3a4 (patch)
treec36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/soundmanager.h
parent60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff)
downloadplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz
plus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2
plus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz
plus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip
Add missing const and static into other classes.
Diffstat (limited to 'src/soundmanager.h')
-rw-r--r--src/soundmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soundmanager.h b/src/soundmanager.h
index 3ed5b6fc0..9eb1ea8a2 100644
--- a/src/soundmanager.h
+++ b/src/soundmanager.h
@@ -94,7 +94,7 @@ class SoundManager final : public ConfigListener
void fadeOutAndPlayMusic(const std::string &fileName,
const int ms = 1000);
- int getMaxVolume() const A_WARN_UNUSED
+ static int getMaxVolume() A_WARN_UNUSED
{ return MIX_MAX_VOLUME; }
void setMusicVolume(const int volume);
@@ -138,7 +138,7 @@ class SoundManager final : public ConfigListener
private:
/** Logs various info about sound device. */
- void info() const;
+ static void info();
/** Halts and frees currently playing music. */
void haltMusic();