summaryrefslogtreecommitdiffstats
path: root/src/effects/effectchain.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2013-12-01 01:25:09 -0500
committerRJ Ryan <rryan@mixxx.org>2013-12-01 01:25:09 -0500
commite8064c05c590f6f4d41c2b2617f23f62fb2d2384 (patch)
tree74af8a6b97b0aa3055dea193d13f373b9711880b /src/effects/effectchain.h
parent0931fec539745cddb646efdec5de8f609085f42b (diff)
Add InsertionType property to EffectChain for insert vs. send effects. Send the property to EngineEffectChain via the SetEffectChainParameters EffectRequest.
Diffstat (limited to 'src/effects/effectchain.h')
-rw-r--r--src/effects/effectchain.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/effects/effectchain.h b/src/effects/effectchain.h
index 18be7d0f0f..d600266a7f 100644
--- a/src/effects/effectchain.h
+++ b/src/effects/effectchain.h
@@ -45,6 +45,13 @@ class EffectChain : public QObject {
double mix() const;
void setMix(const double& dMix);
+ enum InsertionType {
+ INSERT = 0,
+ SEND = 1
+ };
+ InsertionType insertionType() const;
+ void setInsertionType(InsertionType type);
+
void addEffect(EffectPointer pEffect);
void removeEffect(EffectPointer pEffect);
EffectPointer getEffect(unsigned int i) const;
@@ -75,6 +82,7 @@ class EffectChain : public QObject {
bool m_bEnabled;
QString m_id;
QString m_name;
+ InsertionType m_insertionType;
double m_dMix;
double m_dParameter;