No reason to depend on the D runtime there.
Note that dplug:host is too close to VST2, but this is unfortunately what we have now. Would need something close to CLAP, LV2 or VST3 to fix.
[x] First need to remove Phobos uses from Dplug (yes and no, all point of uses don't use the runtime)
[x] getParameterName need to point in mallocated area rather than GC memory
[x] same for getVendorString, effGetEffectName, effGetProductString which all uses .idup and toStringz
[x] reverseMapping need to be a nogc Map!T => using a pointer-sized area in AEffect instead
[x] IPluginHost need a way to be isError() and errorMessage() instead of exceptions...
though, plugins can't signal errored state to hosts so probably limited value here
[x] Finally, IPluginHost can be made nothrow @nogc
There is a feeling of increased snappiness while running abtest now, nice
No reason to depend on the D runtime there. Note that dplug:host is too close to VST2, but this is unfortunately what we have now. Would need something close to CLAP, LV2 or VST3 to fix.
getParameterName
need to point in mallocated area rather than GC memoryisError()
anderrorMessage()
instead of exceptions...nothrow @nogc
There is a feeling of increased snappiness while running abtest now, nice