Plugin Channel Configuration issue



There’s multiple topics about the issue. I think it should be made easier, if it’s possible, since lots of people have issues with this. My issue comes from this: If I use projucer’s Plugin Channel Configurations, for example, {2, 2} it seems not to work on Albeton Live 9. But when I leave that completely empty and instead have this, it works on Ableton:

#ifndef JucePlugin_PreferredChannelConfigurations
bool VerbAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts) const
  #if JucePlugin_IsMidiEffect
    ignoreUnused (layouts);
    return true;
    // This is the place where you check if the layout is supported.
    // In this template code we only support mono or stereo.
    if (layouts.getMainOutputChannelSet() != AudioChannelSet::stereo()) 
        return false;

	if (layouts.getMainOutputChannelSet() != AudioChannelSet::mono())
		return false;

    // This checks if the input layout matches the output layout
   #if ! JucePlugin_IsSynth
    if (layouts.getMainOutputChannelSet() != layouts.getMainInputChannelSet())
        return false;

    return true;

But this in turn might not work for example in PT well… Any ideas?


I’ve just tried this with a fresh plug-in project and both the VST and AU are working as expected in Live 9 with {2, 2}. Are you sure you’re not doing something else that might be messing up the IO channels?

Why wouldn’t it work in Pro Tools?