|
Photosine 0.5
|
#include <PluginScannerSubprocess.h>
Public Member Functions | |
| PluginScannerSubprocessThread () | |
| void | run () |
Public Attributes | |
| juce::String | pluginLocationString |
| juce::String | pluginFormat |
| juce::OwnedArray< juce::PluginDescription > | pluginDescriptions |
Thread used to get the PluginDescription from a path and format type. Responsible for calling juce PluginFormat getAllTypesForFile() on the location and plugin format supplied to it. This thread is created by each child process on a per-plugin basis.
This is done in this thread because getAllTypesForFile() has a tendency to deadlock on bad plugins and we want to put a timeout on it.
| PluginScanning::PluginScannerSubprocessThread::PluginScannerSubprocessThread | ( | ) |
| void PluginScanning::PluginScannerSubprocessThread::run | ( | ) |
Checks which format has been supplied (AU/VST3) in pluginFormat and uses that format to find a PluginDescription from a location string, populating pluginDescriptions with all found types.
| juce::OwnedArray<juce::PluginDescription> PluginScanning::PluginScannerSubprocessThread::pluginDescriptions |
| juce::String PluginScanning::PluginScannerSubprocessThread::pluginFormat |
| juce::String PluginScanning::PluginScannerSubprocessThread::pluginLocationString |