Removed IfDebug

This commit is contained in:
jsalmon3 2003-10-01 23:12:54 +00:00
parent 42b272f0d5
commit 53be9b4a27
2 changed files with 5 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;