mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-18 13:41:05 +00:00
Fix possible uninitialized use of dry_idx variable
This commit is contained in:
parent
7fc56567ca
commit
c8fea77528
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ fluid_rvoice_mixer_process_fx(fluid_rvoice_mixer_t *mixer, int current_blockcoun
|
|||
const int fx_channels_per_unit = mixer->buffers.fx_buf_count / mixer->fx_units;
|
||||
int i, f;
|
||||
int dry_count = mixer->buffers.buf_count; /* dry buffers count */
|
||||
int dry_idx; /* dry buffer index */
|
||||
int dry_idx = 0; /* dry buffer index */
|
||||
|
||||
void (*reverb_process_func)(fluid_revmodel_t *rev, const fluid_real_t *in, fluid_real_t *left_out, fluid_real_t *right_out);
|
||||
void (*chorus_process_func)(fluid_chorus_t *chorus, const fluid_real_t *in, fluid_real_t *left_out, fluid_real_t *right_out);
|
||||
|
|
Loading…
Reference in a new issue