mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-18 05:31:02 +00:00
reorder fields of struct _fluid_voice_t
to minimize padding
This commit is contained in:
parent
f867e3b15a
commit
f34567fb61
1 changed files with 5 additions and 5 deletions
|
@ -71,17 +71,17 @@ struct _fluid_voice_t
|
|||
unsigned char vel; /* the velocity of the noteon event */
|
||||
fluid_channel_t* channel;
|
||||
fluid_rvoice_eventhandler_t* eventhandler;
|
||||
fluid_gen_t gen[GEN_LAST];
|
||||
fluid_mod_t mod[FLUID_NUM_MOD];
|
||||
int mod_count;
|
||||
fluid_zone_range_t * zone_range; /* instrument zone range*/
|
||||
fluid_sample_t* sample; /* Pointer to sample (dupe in rvoice) */
|
||||
|
||||
unsigned int start_time;
|
||||
int mod_count;
|
||||
fluid_mod_t mod[FLUID_NUM_MOD];
|
||||
fluid_gen_t gen[GEN_LAST];
|
||||
|
||||
/* basic parameters */
|
||||
fluid_real_t output_rate; /* the sample rate of the synthesizer (dupe in rvoice) */
|
||||
|
||||
unsigned int start_time;
|
||||
|
||||
/* basic parameters */
|
||||
fluid_real_t pitch; /* the pitch in midicents (dupe in rvoice) */
|
||||
fluid_real_t attenuation; /* the attenuation in centibels (dupe in rvoice) */
|
||||
|
|
Loading…
Reference in a new issue