stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src/sound arts_audio.c ogg.c


From: Jimmy Salmon
Subject: [Stratagus-CVS] stratagus/src/sound arts_audio.c ogg.c
Date: Wed, 01 Oct 2003 20:12:54 -0400

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Jimmy Salmon <address@hidden>   03/10/01 20:12:54

Modified files:
        src/sound      : arts_audio.c ogg.c 

Log message:
        Removed IfDebug

Patches:
Index: stratagus/src/sound/arts_audio.c
diff -u stratagus/src/sound/arts_audio.c:1.7 
stratagus/src/sound/arts_audio.c:1.8
--- stratagus/src/sound/arts_audio.c:1.7        Wed Oct  1 13:52:40 2003
+++ stratagus/src/sound/arts_audio.c    Wed Oct  1 20:12:54 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: arts_audio.c,v 1.7 2003/10/01 17:52:40 jsalmon3 Exp $
+//     $Id: arts_audio.c,v 1.8 2003/10/02 00:12:54 jsalmon3 Exp $
 
 //@{
 
@@ -109,10 +109,10 @@
     }
     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;
 }
Index: stratagus/src/sound/ogg.c
diff -u stratagus/src/sound/ogg.c:1.32 stratagus/src/sound/ogg.c:1.33
--- stratagus/src/sound/ogg.c:1.32      Wed Oct  1 17:01:00 2003
+++ stratagus/src/sound/ogg.c   Wed Oct  1 20:12:54 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//     $Id: ogg.c,v 1.32 2003/10/01 21:01:00 jsalmon3 Exp $
+//     $Id: ogg.c,v 1.33 2003/10/02 00:12:54 jsalmon3 Exp $
 
 //@{
 
@@ -412,7 +412,9 @@
        ov_clear(vf);
 
        DebugLevel0Fn(" %d\n" _C_ sample->Length);
-       IfDebug( AllocatedSoundMemory += sample->Length; );
+#ifdef DEBUG
+       AllocatedSoundMemory += sample->Length;
+#endif
     }
 
     return sample;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]