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:
parent
e0f1f95c7a
commit
4a73b01581
4 changed files with 16 additions and 0 deletions
|
|
@ -63,3 +63,8 @@ void VSTPlugin::unloadLibrary()
|
|||
soHandle = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
bool VSTPlugin::vstLoaded()
|
||||
{
|
||||
return (soHandle != nullptr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue