RustAudio / vst3-sys

Raw Bindings to the VST3 API
Other
288 stars 18 forks source link

Address interface ordering issue #16

Closed MirkoCovizzi closed 4 years ago

MirkoCovizzi commented 4 years ago

This is an early attempt to address the issue #14

I think it's a better idea to launch an error instead of correcting it under the hood, mainly to keep the ordering in the source code of the implementer consistent with that of other VST3 libraries or wrappers.

I'm open to suggestions for what concerns the code itself and also the message that should be launched to the users of this crate.

MirkoCovizzi commented 4 years ago

Why are these unnecessary?

IPluginBase is redundant in the passthru example (implemented by both IComponent and IEditController). Updated PR to consider single component implementations (like the passthru example).

m-hilgendorf commented 4 years ago

:+1: