mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-02 17:12:15 +00:00
optimize fluid_voice_t in size
This commit is contained in:
parent
80063d58f1
commit
0f737708c7
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue