Removed IfDebug
This commit is contained in:
parent
42b272f0d5
commit
53be9b4a27
2 changed files with 5 additions and 3 deletions
src/sound
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue