summaryrefslogtreecommitdiffstats
path: root/src/engine/channelmixer_autogen.cpp
diff options
context:
space:
mode:
authorbe_ <be.0@gmx.com>2017-06-11 16:42:06 -0500
committerbe_ <be.0@gmx.com>2017-06-11 16:42:06 -0500
commitf9661365e101fa0cecc21a36aa6183e7b7802515 (patch)
treed1ba23bf0151f0c09b3c9bf0df3e4ace4c099f4f /src/engine/channelmixer_autogen.cpp
parentd7a9d1ab9d08ee15614a95a024a11732b88e9b44 (diff)
split effects processing into prefader and postfader stages
EQ and QuickEffect racks are prefader to save CPU processing. When they were post-fader, they had to be double-processed for headphones.
Diffstat (limited to 'src/engine/channelmixer_autogen.cpp')
-rw-r--r--src/engine/channelmixer_autogen.cpp2116
1 files changed, 1058 insertions, 1058 deletions
diff --git a/src/engine/channelmixer_autogen.cpp b/src/engine/channelmixer_autogen.cpp
index a436949f89..e07c90d345 100644
--- a/src/engine/channelmixer_autogen.cpp
+++ b/src/engine/channelmixer_autogen.cpp
@@ -14528,7 +14528,7 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer0 = pChannel0->m_pBuffer;
SampleUtil::applyGain(pBuffer0, newGain[0], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i];
@@ -14562,8 +14562,8 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer1 = pChannel1->m_pBuffer;
SampleUtil::applyGain(pBuffer1, newGain[1], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i];
@@ -14609,9 +14609,9 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer2 = pChannel2->m_pBuffer;
SampleUtil::applyGain(pBuffer2, newGain[2], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i];
@@ -14669,10 +14669,10 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer3 = pChannel3->m_pBuffer;
SampleUtil::applyGain(pBuffer3, newGain[3], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i];
@@ -14742,11 +14742,11 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer4 = pChannel4->m_pBuffer;
SampleUtil::applyGain(pBuffer4, newGain[4], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i];
@@ -14828,12 +14828,12 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer5 = pChannel5->m_pBuffer;
SampleUtil::applyGain(pBuffer5, newGain[5], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i];
@@ -14927,13 +14927,13 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer6 = pChannel6->m_pBuffer;
SampleUtil::applyGain(pBuffer6, newGain[6], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i];
@@ -15039,14 +15039,14 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer7 = pChannel7->m_pBuffer;
SampleUtil::applyGain(pBuffer7, newGain[7], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i];
@@ -15164,15 +15164,15 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer8 = pChannel8->m_pBuffer;
SampleUtil::applyGain(pBuffer8, newGain[8], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i] + pBuffer8[i];
@@ -15302,16 +15302,16 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer9 = pChannel9->m_pBuffer;
SampleUtil::applyGain(pBuffer9, newGain[9], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
- pEngineEffectsManager->process(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
+ pEngineEffectsManager->processPostFader(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i] + pBuffer8[i] + pBuffer9[i];
@@ -15453,17 +15453,17 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer10 = pChannel10->m_pBuffer;
SampleUtil::applyGain(pBuffer10, newGain[10], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
- pEngineEffectsManager->process(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
- pEngineEffectsManager->process(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
+ pEngineEffectsManager->processPostFader(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
+ pEngineEffectsManager->processPostFader(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i] + pBuffer8[i] + pBuffer9[i] + pBuffer10[i];
@@ -15617,18 +15617,18 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer11 = pChannel11->m_pBuffer;
SampleUtil::applyGain(pBuffer11, newGain[11], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
- pEngineEffectsManager->process(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
- pEngineEffectsManager->process(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
- pEngineEffectsManager->process(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
+ pEngineEffectsManager->processPostFader(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
+ pEngineEffectsManager->processPostFader(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
+ pEngineEffectsManager->processPostFader(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i] + pBuffer8[i] + pBuffer9[i] + pBuffer10[i] + pBuffer11[i];
@@ -15794,19 +15794,19 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer12 = pChannel12->m_pBuffer;
SampleUtil::applyGain(pBuffer12, newGain[12], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
- pEngineEffectsManager->process(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
- pEngineEffectsManager->process(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
- pEngineEffectsManager->process(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
- pEngineEffectsManager->process(pChannel12->m_handle, outputHandle, pBuffer12, pOutput, iBufferSize, iSampleRate, pChannel12->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
+ pEngineEffectsManager->processPostFader(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
+ pEngineEffectsManager->processPostFader(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
+ pEngineEffectsManager->processPostFader(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
+ pEngineEffectsManager->processPostFader(pChannel12->m_handle, outputHandle, pBuffer12, pOutput, iBufferSize, iSampleRate, pChannel12->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i] + pBuffer8[i] + pBuffer9[i] + pBuffer10[i] + pBuffer11[i] + pBuffer12[i];
@@ -15984,20 +15984,20 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer13 = pChannel13->m_pBuffer;
SampleUtil::applyGain(pBuffer13, newGain[13], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
- pEngineEffectsManager->process(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
- pEngineEffectsManager->process(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
- pEngineEffectsManager->process(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
- pEngineEffectsManager->process(pChannel12->m_handle, outputHandle, pBuffer12, pOutput, iBufferSize, iSampleRate, pChannel12->m_features);
- pEngineEffectsManager->process(pChannel13->m_handle, outputHandle, pBuffer13, pOutput, iBufferSize, iSampleRate, pChannel13->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
+ pEngineEffectsManager->processPostFader(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
+ pEngineEffectsManager->processPostFader(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
+ pEngineEffectsManager->processPostFader(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
+ pEngineEffectsManager->processPostFader(pChannel12->m_handle, outputHandle, pBuffer12, pOutput, iBufferSize, iSampleRate, pChannel12->m_features);
+ pEngineEffectsManager->processPostFader(pChannel13->m_handle, outputHandle, pBuffer13, pOutput, iBufferSize, iSampleRate, pChannel13->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i] + pBuffer8[i] + pBuffer9[i] + pBuffer10[i] + pBuffer11[i] + pBuffer12[i] + pBuffer13[i];
@@ -16187,21 +16187,21 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer14 = pChannel14->m_pBuffer;
SampleUtil::applyGain(pBuffer14, newGain[14], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
- pEngineEffectsManager->process(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
- pEngineEffectsManager->process(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
- pEngineEffectsManager->process(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
- pEngineEffectsManager->process(pChannel12->m_handle, outputHandle, pBuffer12, pOutput, iBufferSize, iSampleRate, pChannel12->m_features);
- pEngineEffectsManager->process(pChannel13->m_handle, outputHandle, pBuffer13, pOutput, iBufferSize, iSampleRate, pChannel13->m_features);
- pEngineEffectsManager->process(pChannel14->m_handle, outputHandle, pBuffer14, pOutput, iBufferSize, iSampleRate, pChannel14->m_features);
+ pEngineEffectsManager->processPostFader(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
+ pEngineEffectsManager->processPostFader(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
+ pEngineEffectsManager->processPostFader(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
+ pEngineEffectsManager->processPostFader(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
+ pEngineEffectsManager->processPostFader(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
+ pEngineEffectsManager->processPostFader(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
+ pEngineEffectsManager->processPostFader(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
+ pEngineEffectsManager->processPostFader(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
+ pEngineEffectsManager->processPostFader(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
+ pEngineEffectsManager->processPostFader(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
+ pEngineEffectsManager->processPostFader(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
+ pEngineEffectsManager->processPostFader(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
+ pEngineEffectsManager->processPostFader(pChannel12->m_handle, outputHandle, pBuffer12, pOutput, iBufferSize, iSampleRate, pChannel12->m_features);
+ pEngineEffectsManager->processPostFader(pChannel13->m_handle, outputHandle, pBuffer13, pOutput, iBufferSize, iSampleRate, pChannel13->m_features);
+ pEngineEffectsManager->processPostFader(pChannel14->m_handle, outputHandle, pBuffer14, pOutput, iBufferSize, iSampleRate, pChannel14->m_features);
} else {
for (unsigned int i = 0; i < iBufferSize; ++i) {
pOutput[i] = pBuffer0[i] + pBuffer1[i] + pBuffer2[i] + pBuffer3[i] + pBuffer4[i] + pBuffer5[i] + pBuffer6[i] + pBuffer7[i] + pBuffer8[i] + pBuffer9[i] + pBuffer10[i] + pBuffer11[i] + pBuffer12[i] + pBuffer13[i] + pBuffer14[i];
@@ -16403,22 +16403,22 @@ void ChannelMixer::applyEffectsAndMixChannels(const EngineMaster::GainCalculator
CSAMPLE* pBuffer15 = pChannel15->m_pBuffer;
SampleUtil::applyGain(pBuffer15, newGain[15], iBufferSize);
if (pEngineEffectsManager) {
- pEngineEffectsManager->process(pChannel0->m_handle, outputHandle, pBuffer0, pOutput, iBufferSize, iSampleRate, pChannel0->m_features);
- pEngineEffectsManager->process(pChannel1->m_handle, outputHandle, pBuffer1, pOutput, iBufferSize, iSampleRate, pChannel1->m_features);
- pEngineEffectsManager->process(pChannel2->m_handle, outputHandle, pBuffer2, pOutput, iBufferSize, iSampleRate, pChannel2->m_features);
- pEngineEffectsManager->process(pChannel3->m_handle, outputHandle, pBuffer3, pOutput, iBufferSize, iSampleRate, pChannel3->m_features);
- pEngineEffectsManager->process(pChannel4->m_handle, outputHandle, pBuffer4, pOutput, iBufferSize, iSampleRate, pChannel4->m_features);
- pEngineEffectsManager->process(pChannel5->m_handle, outputHandle, pBuffer5, pOutput, iBufferSize, iSampleRate, pChannel5->m_features);
- pEngineEffectsManager->process(pChannel6->m_handle, outputHandle, pBuffer6, pOutput, iBufferSize, iSampleRate, pChannel6->m_features);
- pEngineEffectsManager->process(pChannel7->m_handle, outputHandle, pBuffer7, pOutput, iBufferSize, iSampleRate, pChannel7->m_features);
- pEngineEffectsManager->process(pChannel8->m_handle, outputHandle, pBuffer8, pOutput, iBufferSize, iSampleRate, pChannel8->m_features);
- pEngineEffectsManager->process(pChannel9->m_handle, outputHandle, pBuffer9, pOutput, iBufferSize, iSampleRate, pChannel9->m_features);
- pEngineEffectsManager->process(pChannel10->m_handle, outputHandle, pBuffer10, pOutput, iBufferSize, iSampleRate, pChannel10->m_features);
- pEngineEffectsManager->process(pChannel11->m_handle, outputHandle, pBuffer11, pOutput, iBufferSize, iSampleRate, pChannel11->m_features);
- pEngineEffectsManager->process(pChannel12->m_handle, outputHandle, pBuffer12, pOutput, iBufferSize, iSampleRate, pChannel12->m_features);
- pEngineEffectsManager->process(pChannel13->m_handle, outputHandle, pBuffer13, pOutput, iBufferSize, iSampleRate, pChannel13->m_features);
- pEngineEffectsManager->process(pChannel14->m_handle, outputHandle, pBuffer14, pOutput, iBufferSize, iSampleRate, pChannel14->m_features);
- pEngineEffectsManager->process(pChannel15->m_handle, outputHandle, pBuffer15, pOutput, iBufferSize, iSampleRate, pChannel15->m_features);