obs-vst: Add public function to check for load state of VST

The bundle/dllHandle/soHandle property is private, so a getter method
is needed to fetch the status of a loaded VST.
This commit is contained in:
PatTheMav 2022-09-20 14:05:43 +02:00 • committed by Ryan Foster
commit 4a73b01581
4 changed files with 16 additions and 0 deletions

View file

@ -63,3 +63,8 @@ void VSTPlugin::unloadLibrary()
soHandle = nullptr;
}
}
bool VSTPlugin::vstLoaded()
{
return (soHandle != nullptr);
}