Skip to content

Commit

Permalink
VST3 Host: Set plugin version when loading from moduleinfo.json
Browse files Browse the repository at this point in the history
  • Loading branch information
reuk committed Oct 3, 2023
1 parent 0c76b6e commit e3b1470
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -216,12 +216,13 @@ static std::vector<PluginDescription> createPluginDescriptions (const File& plug
description.lastFileModTime = pluginFile.getLastModificationTime();
description.lastInfoUpdateTime = Time::getCurrentTime();
description.manufacturerName = CharPointer_UTF8 (info.factoryInfo.vendor.c_str());
description.name = CharPointer_UTF8 (info.name.c_str());
description.descriptiveName = CharPointer_UTF8 (info.name.c_str());
description.name = CharPointer_UTF8 (c.name.c_str());
description.descriptiveName = CharPointer_UTF8 (c.name.c_str());
description.pluginFormatName = "VST3";
description.numInputChannels = 0;
description.numOutputChannels = 0;
description.hasARAExtension = araMainFactoryClassNames.find (description.name) != araMainFactoryClassNames.end();
description.version = CharPointer_UTF8 (c.version.c_str());

const auto uid = VST3::UID::fromString (c.cid);

Expand Down

0 comments on commit e3b1470

Please sign in to comment.