Awesome, thank you both!
So in my audio processor’s constructor I have
AudioProcessor::AudioProcessor(): (BusesProperties()
.withInput ("Input", juce::AudioChannelSet::mono(), true)
.withOutput ("Output", juce::AudioChannelSet::stereo(), true)
)
{
if(! host.isAbletonLive()) // where host is a pluginHostType object that's a member of my AudioProcessor class
BusesProperties().withInput("Sidechain", juce::AudioChannelSet::mono(), true);
}
It seems like this works! My only question left is if I need to put the .withInput ("Input"...)
in a conditional in the body of the constructor as well, like
if(! host.isAbletonLive()) // where host is a pluginHostType object that's a member of my AudioProcessor class
BusesProperties().withInput("Sidechain", juce::AudioChannelSet::mono(), true);
else
BusesProperties().withInput ("Input", juce::AudioChannelSet::mono(), true)
}
or should I leave it as it is now?
Thanks again!