1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-08 23:24:19 +00:00

AudioPluginInstance: Use inherited constructors directly

This commit is contained in:
reuk 2025-12-08 13:26:15 +00:00
parent 84bcf6965c
commit 44c552c614
No known key found for this signature in database

View file

@ -167,10 +167,7 @@ protected:
const StringArray onStrings, offStrings;
};
AudioPluginInstance() = default;
AudioPluginInstance (const BusesProperties& ioLayouts) : AudioProcessor (ioLayouts) {}
template <size_t numLayouts>
AudioPluginInstance (const short channelLayoutList[numLayouts][2]) : AudioProcessor (channelLayoutList) {}
using AudioProcessor::AudioProcessor;
private:
// It's not safe to add a plain AudioProcessorParameter to an AudioPluginInstance.