From bdc5850120086a268b89863d33550da68af4b3a0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 13 Jan 2014 16:57:56 -0800 Subject: Don't reset presets when loading/unloading soundfonts --- Alc/midi/fluidsynth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/midi') diff --git a/Alc/midi/fluidsynth.c b/Alc/midi/fluidsynth.c index ae83bb48..cef00ed0 100644 --- a/Alc/midi/fluidsynth.c +++ b/Alc/midi/fluidsynth.c @@ -564,7 +564,7 @@ static ALenum FSynth_selectSoundfonts(FSynth *self, ALCcontext *context, ALsizei char name[16]; snprintf(name, sizeof(name), "_al_internal %d", i); - fontid[i] = fluid_synth_sfload(self->Synth, name, 1); + fontid[i] = fluid_synth_sfload(self->Synth, name, 0); if(fontid[i] == FLUID_FAILED) ERR("Failed to load selected soundfont %d\n", i); } @@ -580,7 +580,7 @@ static ALenum FSynth_selectSoundfonts(FSynth *self, ALCcontext *context, ALsizei } for(i = 0;i < count;i++) - fluid_synth_sfunload(self->Synth, fontid[i], 1); + fluid_synth_sfunload(self->Synth, fontid[i], 0); free(fontid); return ret; -- cgit v1.2.3