remove: redundant declaration, useless variable

This commit is contained in:
jjceresa 2019-10-07 11:28:13 +02:00
parent ff1acc1298
commit c92304691f
3 changed files with 0 additions and 10 deletions

View file

@ -24,11 +24,6 @@
// Externals
void fluid_voice_calculate_modulator_contributions(fluid_voice_t *voice);
int fluid_voice_modulate(fluid_voice_t* voice, int cc, int ctrl);
void fluid_voice_add_mod_local(fluid_voice_t *voice, fluid_mod_t *mod, int mode,
int check_limit_count);
//-----------------------------------------------------------------------------
/**
* Compute expected modulation a modulator will supply by
@ -129,8 +124,6 @@ static fluid_real_t get_complex_mod_modulation(fluid_voice_t *voice,
static const int m1_src1_cc = 21;
static const int m2_src1_cc = 22;
fluid_real_t initial_voice_attenuation ; // cB
// Initialize CC values in channel
fluid_channel_set_cc(voice->channel, m0_src2_cc, m0_src2_cc_value);
fluid_channel_set_cc(voice->channel, m1_src1_cc, m1_src1_cc_value);

View file

@ -15,7 +15,6 @@ Test of value of linked/simple modulator.
#include "synth/fluid_chan.h"
void fluid_voice_calculate_modulator_contributions(fluid_voice_t *voice);
void fluid_voice_add_mod_local(fluid_voice_t *voice, fluid_mod_t *mod, int mode, int check_limit_count);
int float_equal(fluid_real_t x, fluid_real_t y)
{

View file

@ -31,8 +31,6 @@ void fluid_voice_calculate_modulator_contributions(fluid_voice_t *voice);
fluid_real_t
fluid_voice_get_lower_boundary_for_attenuation(fluid_voice_t *voice);
void fluid_voice_add_mod_local(fluid_voice_t *voice, fluid_mod_t *mod, int mode, int check_limit_count);
//-----------------------------------------------------------------------------
/**
* Compute attenuation reduction given by voice modulator(if possible)