Skip to content

Commit

Permalink
Access to synth->bank_select not guarded by mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
derselbst committed May 22, 2024
1 parent 2abb296 commit 4e51141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/synth/fluid_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2050,8 +2050,8 @@ fluid_synth_sysex(fluid_synth_t *synth, const char *data, int len,
|| data[3] == MIDI_SYSEX_GM2_ON))
{
int result;
synth->bank_select = FLUID_BANK_STYLE_GM;
fluid_synth_api_enter(synth);
synth->bank_select = FLUID_BANK_STYLE_GM;
result = fluid_synth_system_reset_LOCAL(synth);
FLUID_API_RETURN(result);
}
Expand Down

0 comments on commit 4e51141

Please sign in to comment.