From 3101647e323c662add4b8fbea513db3de1c8c36a Mon Sep 17 00:00:00 2001 From: derselbst Date: Thu, 19 Oct 2017 23:52:46 +0200 Subject: [PATCH] slightly optimize fluid_voice_t in size --- src/synth/fluid_voice.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/synth/fluid_voice.h b/src/synth/fluid_voice.h index 96d8976f..e2ce1ffd 100644 --- a/src/synth/fluid_voice.h +++ b/src/synth/fluid_voice.h @@ -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 */ };