Skip to content

Commit

Permalink
- fixed setting of FluidSynth reverb and chorus
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Oct 7, 2019
1 parent d7289f6 commit 59f6497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/zmusic/zmusic/configuration.cpp
Expand Up @@ -181,14 +181,14 @@ bool ChangeMusicSetting(ZMusic::EIntConfigKey key, MusInfo *currSong, int value,

case fluid_reverb:
if (currSong != NULL)
currSong->ChangeSettingInt("fluidsynth.synth.reverb", value);
currSong->ChangeSettingInt("fluidsynth.synth.reverb.active", value);

ChangeAndReturn(fluidConfig.fluid_reverb, value, pRealValue);
return false;

case fluid_chorus:
if (currSong != NULL)
currSong->ChangeSettingInt("fluidsynth.synth.chorus", value);
currSong->ChangeSettingInt("fluidsynth.synth.chorus.active", value);

ChangeAndReturn(fluidConfig.fluid_chorus, value, pRealValue);
return false;
Expand Down

0 comments on commit 59f6497

Please sign in to comment.