summaryrefslogtreecommitdiffstats
path: root/src/engine/enginemaster.h
diff options
context:
space:
mode:
authorbe_ <be.0@gmx.com>2017-06-11 23:49:17 -0500
committerbe_ <be.0@gmx.com>2017-06-11 23:51:05 -0500
commitbecbfa53eeafb8c052f1cba03d7aca52fd253315 (patch)
tree4b8adb65c9c69aa7c2b2c4e031a3d7a706bd9df5 /src/engine/enginemaster.h
parent23d1af88b42eb24858493adfd68a4abe0752e821 (diff)
apply effects to individual deck outputs
Do not modify input buffers for processing effects on headphones, but do modify the buffers in place for the main processing. This also allows for some optimization by avoiding unnecessary buffer copying.
Diffstat (limited to 'src/engine/enginemaster.h')
-rw-r--r--src/engine/enginemaster.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/enginemaster.h b/src/engine/enginemaster.h
index 360e665bd6..efbb25678d 100644
--- a/src/engine/enginemaster.h
+++ b/src/engine/enginemaster.h
@@ -289,6 +289,9 @@ class EngineMaster : public QObject, public AudioSource {
QVarLengthArray<ChannelInfo*, kPreallocatedChannels> m_activeHeadphoneChannels;
QVarLengthArray<ChannelInfo*, kPreallocatedChannels> m_activeTalkoverChannels;
+ unsigned int m_iSampleRate;
+ unsigned int m_iBufferSize;
+
// Mixing buffers for each output.
CSAMPLE* m_pOutputBusBuffers[3];
CSAMPLE* m_pHead;
@@ -336,6 +339,7 @@ class EngineMaster : public QObject, public AudioSource {
const ChannelHandleAndGroup m_busLeftHandle;
const ChannelHandleAndGroup m_busCenterHandle;
const ChannelHandleAndGroup m_busRightHandle;
+ const ChannelHandleAndGroup m_unmixedDeckOutputHandle;
// Produce the Master Mixxx, not Required if connected to left
// and right Bus and no recording and broadcast active