mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 20:10:13 +02:00
💥 Convert between UID formats for class IDs
This is a breaking change. Old projects containing VST3 plugins running through yabridge will no longer work without modifications. I'll write some scripts to convert the class IDs stored in those project files soon a migration path. The UIDs reported by the plugin were apparently wrong, which meant that the native Linux VST3 version of plugin X and the normal Windows VST3 version of plugin X used different class ideas than the Windows VST3 version of plugin X running through yabridge. Those things are supposed to be compatible, so we sadly needed to make this change at some point.
This commit is contained in:
@@ -35,8 +35,8 @@ YaPluginFactoryImpl::createInstance(Steinberg::FIDString cid,
|
||||
return Steinberg::kInvalidArgument;
|
||||
}
|
||||
|
||||
ArrayUID cid_array;
|
||||
std::copy(cid, cid + std::extent_v<Steinberg::TUID>, cid_array.begin());
|
||||
Steinberg::TUID cid_array;
|
||||
std::copy(cid, cid + std::extent_v<Steinberg::TUID>, cid_array);
|
||||
|
||||
// FIXME: `_iid` in Bitwig Studio 3.3.1 is not null terminated, and the
|
||||
// comparison below will thus fail since the strings have different
|
||||
|
||||
Reference in New Issue
Block a user