-
Notifications
You must be signed in to change notification settings - Fork 310
Closed
Labels
Description
There seems to be a problem with the current sample reference counting algorithm. When I load a bank, then process a MIDI file through the synthesizer, then unload, the SoundFont fails to unload because several of the samples which were used still have positive reference counts.
Even resetting the synthesizer before unloading fails. As a workaround, I have extended the SoundFont delete function to include a force parameter, so that all unchecked calls to the delete function may force it to ignore the reference counts. This is probably not an ideal long term solution, however.
Reported by: kode54
Original Ticket: fluidsynth/tickets/83