mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
Revert "remove redundant debug vars for fluid_voice_t"
This reverts commit 69d41ae5ec
. Fixing build if -Denable-profiling=1
This commit is contained in:
parent
3101647e32
commit
587a8408cf
2 changed files with 7 additions and 0 deletions
|
@ -268,6 +268,7 @@ fluid_voice_init(fluid_voice_t* voice, fluid_sample_t* sample,
|
|||
voice->channel = channel;
|
||||
voice->mod_count = 0;
|
||||
voice->start_time = start_time;
|
||||
voice->debug = 0;
|
||||
voice->has_noteoff = 0;
|
||||
UPDATE_RVOICE0(fluid_rvoice_reset);
|
||||
|
||||
|
@ -455,6 +456,8 @@ void fluid_voice_start(fluid_voice_t* voice)
|
|||
|
||||
fluid_voice_calculate_runtime_synthesis_parameters(voice);
|
||||
|
||||
voice->ref = fluid_profile_ref();
|
||||
|
||||
voice->status = FLUID_VOICE_ON;
|
||||
|
||||
/* Increment voice count */
|
||||
|
|
|
@ -104,6 +104,10 @@ struct _fluid_voice_t
|
|||
char can_access_rvoice; /* False if rvoice is being rendered in separate thread */
|
||||
char can_access_overflow_rvoice; /* False if overflow_rvoice is being rendered in separate thread */
|
||||
char has_noteoff; /* Flag set when noteoff has been sent */
|
||||
|
||||
/* for debugging */
|
||||
int debug;
|
||||
double ref;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue