Are plugins are supposed to register a custom MIDI driver? I have implemented a rough prototype which registers my driver in the plugin‘s
init function. While everything seems to work as expected I get a segfault when existing Rack on
delete of the driver. I wasn’t able to debug it completely yet but my current guess is that the plugin is unloaded before the driver gets destructed. Has anybody done something like this before?
A short note on my motivation: I implemented the MIDI/audio encoding like Silent Way does it some time ago myself because the existing module has some limitations, like a single MIDI channel per output port and no support for CC. I think having a MIDI driver which can be used in all existing modules could be the right approach to get it finally released publicly.