From 3c404128c4669a1f4f190e20a89553677717fc50 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Sep 2016 22:01:44 +0300 Subject: Add missing comments into defines. --- src/soundmanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/soundmanager.cpp') 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) { -- cgit v1.2.3-60-g2f50