Remove unused digi_sound_debug
This commit is contained in:
parent
ac174b5efe
commit
02bba815ee
|
@ -671,10 +671,6 @@ void digi_sync_sounds()
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
// digi_sound_debug();
|
||||
#endif
|
||||
}
|
||||
|
||||
void digi_pause_digi_sounds()
|
||||
|
@ -748,22 +744,6 @@ int verify_sound_channel_free( int channel )
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void digi_sound_debug()
|
||||
{
|
||||
int i;
|
||||
int n_active_sound_objs=0;
|
||||
int n_sound_objs=0;
|
||||
|
||||
for (i=0; i<MAX_SOUND_OBJECTS; i++ ) {
|
||||
if ( SoundObjects[i].flags & SOF_USED ) {
|
||||
n_sound_objs++;
|
||||
if ( SoundObjects[i].channel > -1 )
|
||||
n_active_sound_objs++;
|
||||
}
|
||||
}
|
||||
digi_debug();
|
||||
}
|
||||
#endif
|
||||
|
||||
typedef struct sound_q {
|
||||
|
|
Loading…
Reference in a new issue