summaryrefslogtreecommitdiff
path: root/src/audio/audio.c
diff options
context:
space:
mode:
authorMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
committerMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
commit753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 (patch)
treecfbded574ded7c3c666de6211877469ff6a95d75 /src/audio/audio.c
parenta0939379bb1185ee6d66739d9d021466d5d89624 (diff)
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/audio/audio.c')
-rw-r--r--src/audio/audio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/audio.c b/src/audio/audio.c
index 9b6d9fc..8e224fd 100644
--- a/src/audio/audio.c
+++ b/src/audio/audio.c
@@ -25,15 +25,15 @@ void audio_init()
return;
}
- DEBUG_MSG(_("[Debug] Initializing audio\n"));
+ debug("Initializing audio");
if (SDL_InitSubSystem(SDL_INIT_AUDIO) == -1) {
- fprintf(stderr, _("[Error] Unable to initialize audio: %s\n"), SDL_GetError());
+ error("Unable to initialize audio: %s", SDL_GetError());
return;
}
if (Mix_OpenAudio(MIX_DEFAULT_FREQUENCY, MIX_DEFAULT_FORMAT, 2, 1024) == -1) {
- fprintf(stderr, _("[Error] Unable to create proper audio settings: %s\n"), Mix_GetError());
+ error("Unable to create proper audio settings: %s", Mix_GetError());
return;
}
@@ -48,7 +48,7 @@ void audio_init()
*/
void audio_quit()
{
- DEBUG_MSG(_("[Debug] Shutting down audio\n"));
+ debug("Shutting down audio");
Mix_CloseAudio();
isAudioInit = TRUE;