optimize fluid_voice_t in size

This commit is contained in:
derselbst 2017-12-02 18:25:58 +01:00
parent 80063d58f1
commit 0f737708c7
2 changed files with 4 additions and 0 deletions

View file

@ -420,7 +420,9 @@ void fluid_voice_start(fluid_voice_t* voice)
fluid_voice_calculate_runtime_synthesis_parameters(voice);
#ifdef WITH_PROFILING
voice->ref = fluid_profile_ref();
#endif
voice->status = FLUID_VOICE_ON;

View file

@ -105,8 +105,10 @@ struct _fluid_voice_t
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 */
#ifdef WITH_PROFILING
/* for debugging */
double ref;
#endif
};