You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, delete_fluid_midi_driver isn't among them. As a matter of fact, it isn't called anywhere in the code.
Listing MIDI output ports shows the FS instance still there:
$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
128:0 FLUID Synth (2085) Synth input port (2085:0)
By defining the aforementioned binding (delete_fluid_midi_driver = cfunc('delete_fluid_midi_driver', c_void_p, ('driver', c_void_p, 1)) and adding it to the deletion routines (delete_fluid_midi_driver(self.midi_driver)), the instance is finally cleared as it should:
$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
The text was updated successfully, but these errors were encountered:
When killing a FluidSynth instance, a few deletion routines are called:
However,
delete_fluid_midi_driver
isn't among them. As a matter of fact, it isn't called anywhere in the code.Listing MIDI output ports shows the FS instance still there:
By defining the aforementioned binding (
delete_fluid_midi_driver = cfunc('delete_fluid_midi_driver', c_void_p, ('driver', c_void_p, 1))
and adding it to the deletion routines (delete_fluid_midi_driver(self.midi_driver)
), the instance is finally cleared as it should:The text was updated successfully, but these errors were encountered: