# Pro Tools and Multi Stereo Outputs

**URL:** <https://forum.juce.com/t/pro-tools-and-multi-stereo-outputs/48149>\
**Category:** Audio Plugins\
**Created:** [October 6, 2021, 9:01pm UTC](https://forum.juce.com/t/pro-tools-and-multi-stereo-outputs/48149 "2021-10-06T21:01:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kunz](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kunz](https://forum.juce.com/u/kunz)\
**Post date:** [October 6, 2021, 9:01pm UTC](https://forum.juce.com/t/pro-tools-and-multi-stereo-outputs/48149/1 "2021-10-06T21:01:14Z")

</div>

I try to make a plugin with a required main stereo output and optional 7 additional stereo outputs.

I do:

```auto
   : AudioProcessor (BusesProperties()
                     .withOutput ("Output 1", AudioChannelSet::stereo(), true)
                     .withOutput ("Output 2", AudioChannelSet::stereo(), false)
                     .withOutput ("Output 3", AudioChannelSet::stereo(), false)
                     .withOutput ("Output 4", AudioChannelSet::stereo(), false)
                     .withOutput ("Output 5", AudioChannelSet::stereo(), false)
                     .withOutput ("Output 6", AudioChannelSet::stereo(), false)
                     .withOutput ("Output 7", AudioChannelSet::stereo(), false)
                     .withOutput ("Output 8", AudioChannelSet::stereo(), false)
                     .withInput("Input", AudioChannelSet::stereo(), true))

```

and

```auto
bool TalCore::isBusesLayoutSupported (const BusesLayout& layouts) const
{
    return layouts.getMainInputChannels() == 2 &&
         (layouts.getMainOutputChannels() == 2
       || layouts.getMainOutputChannels() == 4
       || layouts.getMainOutputChannels() == 6
       || layouts.getMainOutputChannels() == 8
       || layouts.getMainOutputChannels() == 10
       || layouts.getMainOutputChannels() == 12
       || layouts.getMainOutputChannels() == 14
       || layouts.getMainOutputChannels() == 16);
}

```

It looks like this works in VST3 and AU hosts and I can add additional stereo outputs in the DAW.

But pro tools shows me this output option:

![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/9/908c0920c3d7f323940bc0bbbcdd3a7e44f86d18.png)

How can I remove the surround options and have the normal optional stereo outputs?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [October 7, 2021, 10:15am UTC](https://forum.juce.com/t/pro-tools-and-multi-stereo-outputs/48149/2 "2021-10-07T10:15:23Z")

</div>

The layouts has two public arrays, I would check:

```auto
    for (const auto& bus : layout.outputBuses)
        if (bus != AudioChannelSet::stereo())
            return false; 

    if (layout.inputBuses.size() > 1)
        return false;

    if (layout.inputBuses.isNotEmpty() && layout.inputBuses [0] != AudioChannelSet::stereo())
        return false;

    return true;

```

Something along these lines

---

<div class="post-metadata">

**Author:** ![kunz](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kunz](https://forum.juce.com/u/kunz)\
**Post date:** [October 7, 2021, 2:26pm UTC](https://forum.juce.com/t/pro-tools-and-multi-stereo-outputs/48149/3 "2021-10-07T14:26:47Z")

</div>

Thanks, daniel. It worked. The surround configurations do not show up anymore 🙂
