From 53be9b4a2743fd892e480e0af0d857aa74e6f2b4 Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Wed, 1 Oct 2003 23:12:54 +0000
Subject: [PATCH] Removed IfDebug

---
 src/sound/arts_audio.cpp | 4 ++--
 src/sound/ogg.cpp        | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/sound/arts_audio.cpp b/src/sound/arts_audio.cpp
index 9e7a56837..5c62777f4 100644
--- a/src/sound/arts_audio.cpp
+++ b/src/sound/arts_audio.cpp
@@ -109,10 +109,10 @@ global int InitArtsSound(int freq, int size)
     }
     arts_stream_set(stream, ARTS_P_PACKET_SETTINGS, frags);
 
-    IfDebug(
+#ifdef DEBUG
 	frags = arts_stream_get(stream, ARTS_P_BUFFER_SIZE);
 	DebugLevel0Fn("frequency %d, buffer size %d\n" _C_ freq _C_ frags);
-    );
+#endif
     SoundFildes = 0;
     return 0;
 }
diff --git a/src/sound/ogg.cpp b/src/sound/ogg.cpp
index a6c6fcacb..fa2af471c 100644
--- a/src/sound/ogg.cpp
+++ b/src/sound/ogg.cpp
@@ -412,7 +412,9 @@ global Sample* LoadOgg(const char* name,int flags)
 	ov_clear(vf);
 
 	DebugLevel0Fn(" %d\n" _C_ sample->Length);
-	IfDebug( AllocatedSoundMemory += sample->Length; );
+#ifdef DEBUG
+	AllocatedSoundMemory += sample->Length;
+#endif
     }
 
     return sample;