mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-12-03 17:42:21 +00:00
slightly optimize fluid_voice_t in size
This commit is contained in:
parent
69d41ae5ec
commit
3101647e32
1 changed files with 3 additions and 4 deletions
|
@ -71,8 +71,6 @@ struct _fluid_voice_t
|
|||
int mod_count;
|
||||
fluid_sample_t* sample; /* Pointer to sample (dupe in rvoice) */
|
||||
|
||||
int has_noteoff; /* Flag set when noteoff has been sent */
|
||||
|
||||
/* basic parameters */
|
||||
fluid_real_t output_rate; /* the sample rate of the synthesizer (dupe in rvoice) */
|
||||
|
||||
|
@ -103,8 +101,9 @@ struct _fluid_voice_t
|
|||
/* rvoice control */
|
||||
fluid_rvoice_t* rvoice;
|
||||
fluid_rvoice_t* overflow_rvoice; /* Used temporarily and only in overflow situations */
|
||||
int can_access_rvoice; /* False if rvoice is being rendered in separate thread */
|
||||
int can_access_overflow_rvoice; /* False if overflow_rvoice is being rendered in separate thread */
|
||||
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 */
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue