summaryrefslogtreecommitdiff
path: root/src/soundmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
commit3c404128c4669a1f4f190e20a89553677717fc50 (patch)
tree2db4e5031089c800c4e00fd6244e578f44a7c910 /src/soundmanager.cpp
parent89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff)
downloadmanaplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz
manaplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2
manaplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz
manaplus-3c404128c4669a1f4f190e20a89553677717fc50.zip
Add missing comments into defines.
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r--src/soundmanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp
index 8ee6f2a26..f3a48059c 100644
--- a/src/soundmanager.cpp
+++ b/src/soundmanager.cpp
@@ -26,7 +26,7 @@
#ifndef DYECMD
#include "being/localplayer.h"
-#endif
+#endif // DYECMD
#include "resources/sdlmusic.h"
#include "resources/soundeffect.h"
@@ -255,10 +255,10 @@ void SoundManager::info()
#ifdef USE_SDL2
const char *driver = SDL_GetCurrentAudioDriver();
-#else
+#else // USE_SDL2
char driver[40] = "Unknown";
SDL_AudioDriverName(driver, 40);
-#endif
+#endif // USE_SDL2
Mix_QuerySpec(&rate, &audioFormat, &channels);
switch (audioFormat)
@@ -443,7 +443,7 @@ void SoundManager::playSfx(const std::string &path A_UNUSED,
const int y A_UNUSED) const
{
}
-#else
+#else // DYECMD
void SoundManager::playSfx(const std::string &path,
const int x, const int y) const
{
@@ -479,7 +479,7 @@ void SoundManager::playSfx(const std::string &path,
sample->decRef();
}
}
-#endif
+#endif // DYECMD
void SoundManager::playGuiSound(const std::string &name)
{