mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
PluginHostType: Automatically set jucePlugInClientCurrentWrapperType during createPluginFilterOfType
This commit is contained in:
parent
84d4c8794a
commit
403ba3007f
9 changed files with 3 additions and 30 deletions
|
|
@ -721,7 +721,7 @@ public:
|
|||
|
||||
static std::unique_ptr<AudioProcessor> createProcessorInstance()
|
||||
{
|
||||
std::unique_ptr<AudioProcessor> result { createPluginFilterOfType (AudioProcessor::wrapperType_LV2) };
|
||||
auto result = rawToUniquePtr (createPluginFilterOfType (AudioProcessor::wrapperType_LV2));
|
||||
|
||||
#if defined (JucePlugin_PreferredChannelConfigurations)
|
||||
constexpr short channelConfigurations[][2] { JucePlugin_PreferredChannelConfigurations };
|
||||
|
|
@ -1356,8 +1356,6 @@ private:
|
|||
//==============================================================================
|
||||
LV2_SYMBOL_EXPORT const LV2_Descriptor* lv2_descriptor (uint32_t index)
|
||||
{
|
||||
PluginHostType::jucePlugInClientCurrentWrapperType = AudioProcessor::wrapperType_LV2;
|
||||
|
||||
if (index != 0)
|
||||
return nullptr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue