# ProcessorChain and ProcessContextNonReplacing

**URL:** <https://forum.juce.com/t/processorchain-and-processcontextnonreplacing/23621>\
**Category:** Development\
**Created:** [August 5, 2017, 5:36am UTC](https://forum.juce.com/t/processorchain-and-processcontextnonreplacing/23621 "2017-08-05T05:36:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MyCoSD](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@MyCoSD](https://forum.juce.com/u/MyCoSD)\
**Post date:** [August 5, 2017, 5:36am UTC](https://forum.juce.com/t/processorchain-and-processcontextnonreplacing/23621/1 "2017-08-05T05:36:35Z")

</div>

Hi,

I’m pretty new to JUCE and I’m just scanning through the source code to see how things work. I stumbled across the ProcessorChain and was wondering why the output blocks don’t get switched to become the input blocks of the next Processor in the chain. Maybe I’m missing something?

It looks like at the moment only ProcessContextReplacing is being used and for them it doesn’t matter as the input block is the output block as well. But what will happen when you use ProcessContextNonReplacing?

Regards  
Maik

---

<div class="post-metadata">

**Author:** ![IvanC](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ivanc/32/685_2.png) [@IvanC](https://forum.juce.com/u/IvanC)\
**Post date:** [August 5, 2017, 9:02am UTC](https://forum.juce.com/t/processorchain-and-processcontextnonreplacing/23621/2 "2017-08-05T09:02:18Z")

</div>

Hello !

You got everything right. ProcessContextReplacing means the input and the output are the same (the output replaces the input), and for ProcessContextNonReplacing the two are separate. So obviously we need the first one to use the ProcessorChain functionalities.

---

<div class="post-metadata">

**Author:** ![MyCoSD](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@MyCoSD](https://forum.juce.com/u/MyCoSD)\
**Post date:** [August 5, 2017, 4:02pm UTC](https://forum.juce.com/t/processorchain-and-processcontextnonreplacing/23621/3 "2017-08-05T16:02:38Z")

</div>

So ProcessContextNonReplacing was never meant to be used with ProcessorChain then?
