diff options
author | Chris Robinson <[email protected]> | 2014-01-13 16:57:56 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-01-13 16:57:56 -0800 |
commit | bdc5850120086a268b89863d33550da68af4b3a0 (patch) | |
tree | e630119b47d8cabb957a7ab95da4949bd21c7f87 /Alc | |
parent | 24ffb5b4643779ee0b8ea6bd93fe35de93b6038e (diff) |
Don't reset presets when loading/unloading soundfonts
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/midi/fluidsynth.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |