diff options
author | RJ Ryan <rryan@mixxx.org> | 2014-03-16 15:30:16 -0400 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2014-03-16 15:30:16 -0400 |
commit | 6422aa5b4cbe47b05425c5eab771d07702c934a7 (patch) | |
tree | 9e1ab60faeb8737e295dc943c9191ddca2806d89 /src/effects/effectchainmanager.cpp | |
parent | 6f35964d690c0695c083860b7f43613f1541ff27 (diff) |
Introduce the concept of EffectChain prototypes.
When loading a chain into a chain slot, the chain is cloned. This allows loading
the same chain into multiple effect units at once.
Diffstat (limited to 'src/effects/effectchainmanager.cpp')
-rw-r--r-- | src/effects/effectchainmanager.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/effects/effectchainmanager.cpp b/src/effects/effectchainmanager.cpp index 97fd80aa9f..aed3952d8d 100644 --- a/src/effects/effectchainmanager.cpp +++ b/src/effects/effectchainmanager.cpp @@ -49,14 +49,12 @@ EffectRackPointer EffectChainManager::getEffectRack(int i) { void EffectChainManager::addEffectChain(EffectChainPointer pEffectChain) { if (pEffectChain) { m_effectChains.append(pEffectChain); - pEffectChain->addToEngine(); } } void EffectChainManager::removeEffectChain(EffectChainPointer pEffectChain) { if (pEffectChain) { m_effectChains.removeAll(pEffectChain); - pEffectChain->removeFromEngine(); } } |