Hi Jules,
is it possible to provide virtual functions in the AudioProcessor for isSynth and channelConfigs (IO) instead set it statically by macros?
The reason: A MIDI effect or Sequencer which only produce MIDI is normaly not a synth, but some hosts like Ableton Live only transport synths correctly and ignore MIDI plugin and some others list a MIDI plugin correctly without any tricks.
Somthing like this:
virtual bool AudioProcessor::isSynth() { return JucePlugin_IsSynth; }
And i like to override something like this:
bool AudioProcessor::isSynth() override { return PluginHostType().isCubase() ? true : false; } int numOutputChannel() override { return PluginHostType().isAbletonLive() ? 2 : 0; }
At the moment I've changed the AudioProcessor source, but it's not good for updating JUCE.
Cheers