reorder fluid_mod_t members to avoid padding

This commit is contained in:
derselbst 2019-10-15 11:28:16 +02:00
parent f41b762c56
commit 4a81c24616
1 changed files with 1 additions and 1 deletions

View File

@ -35,9 +35,9 @@ struct _fluid_mod_t
unsigned char flags1; /**< Source controller 1 flags */
unsigned char src2; /**< Source controller 2 */
unsigned char flags2; /**< Source controller 2 flags */
unsigned char path; /**< Flags indicating if the modulator is valid */
double amount; /**< Multiplier amount */
double link; /**< Summation of modulator nodes linked to this modulator */
unsigned char path; /**< Flags indicating if the modulator is valid */
/* The 'next' field allows to link modulators into a list. It is
* not used in fluid_voice.c, there each voice allocates memory for a
* fixed number of modulators. Since there may be a huge number of