mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 15:42:54 +00:00
remove: redundant declaration, useless variable
This commit is contained in:
parent
ff1acc1298
commit
c92304691f
3 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue