How to enable Mono->Stereo option for plug-in within Logic

We deleted the Plugin Channel Configurations entry, and instead have this code in the processor’s isBusesLayoutSupported():

if (layouts.getMainOutputChannelSet() == AudioChannelSet::mono())
{
	// Mono-to-mono
	if (layouts.getMainInputChannelSet() == AudioChannelSet::mono())
		return true;
}
else if (layouts.getMainOutputChannelSet() == AudioChannelSet::stereo())
{
	// Mono-to-stereo OR stereo-to-stereo
	if ((layouts.getMainInputChannelSet() == AudioChannelSet::mono()) ||
			(layouts.getMainInputChannelSet() == AudioChannelSet::stereo()))
		return true;
}
//
return false;

That seems to work fine for Logic and other hosts.

2 Likes