Disable built-in Fluid IIR filter via environmental variable, since there is no appropriate API for that
This commit is contained in:
parent
59a34c017d
commit
6155a6323a
1 changed files with 4 additions and 0 deletions
|
@ -196,7 +196,11 @@ static void fluid_voice_initialize_rvoice(fluid_voice_t *voice, fluid_real_t out
|
|||
fluid_voice_update_modenv(voice, FALSE, FLUID_VOICE_ENVFINISHED,
|
||||
0xffffffff, 0.0f, 0.0f, -1.0f, 1.0f);
|
||||
|
||||
#ifdef ENABLE_DEFAULT_COMPRESSION
|
||||
param[0].i = FLUID_IIR_LOWPASS;
|
||||
#else
|
||||
param[0].i = FLUID_IIR_DISABLED;
|
||||
#endif
|
||||
param[1].i = 0;
|
||||
fluid_iir_filter_init(&voice->rvoice->resonant_filter, param);
|
||||
|
||||
|
|
Loading…
Reference in a new issue