mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-13 00:04:10 +00:00
Fix example code to deactivate reverb and chorus via fluid_settings_setint
This commit is contained in:
parent
241f676047
commit
53bed2d506
1 changed files with 2 additions and 2 deletions
|
@ -595,8 +595,8 @@ void createsynth()
|
||||||
{
|
{
|
||||||
fluid_settings_t* settings;
|
fluid_settings_t* settings;
|
||||||
settings = new_fluid_settings();
|
settings = new_fluid_settings();
|
||||||
fluid_settings_setstr(settings, "synth.reverb.active", "yes");
|
fluid_settings_setint(settings, "synth.reverb.active", 0);
|
||||||
fluid_settings_setstr(settings, "synth.chorus.active", "no");
|
fluid_settings_setint(settings, "synth.chorus.active", 0);
|
||||||
synth = new_fluid_synth(settings);
|
synth = new_fluid_synth(settings);
|
||||||
adriver = new_fluid_audio_driver(settings, synth);
|
adriver = new_fluid_audio_driver(settings, synth);
|
||||||
sequencer = new_fluid_sequencer2(0);
|
sequencer = new_fluid_sequencer2(0);
|
||||||
|
|
Loading…
Reference in a new issue