diff options
author | Be <be@mixxx.org> | 2018-07-17 03:06:33 -0500 |
---|---|---|
committer | Kshitij Gupta <kgupta119@gmail.com> | 2018-10-18 06:41:11 +0530 |
commit | c367207a62189a444181ebbfb4cc3b264c90abc5 (patch) | |
tree | e9d623a60d5a3d3ff1c710d0420f438470f2bca7 /src/effects/effectchainslot.cpp | |
parent | e13af950ab43b0651b4087a1b9f34ac19cf332dc (diff) |
pass EffectProcessor instead of EffectInstantiator to EngineEffect
and move EffectInstantiator where it belongs, as a private
implementation detail of BuiltInBackend. Move the implementation of
EffectsBackend into BuiltInBackend and leave EffectsBackend as an
abstract base class.
Diffstat (limited to 'src/effects/effectchainslot.cpp')
-rw-r--r-- | src/effects/effectchainslot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/effectchainslot.cpp b/src/effects/effectchainslot.cpp index f9026d2a38..e5ecb37851 100644 --- a/src/effects/effectchainslot.cpp +++ b/src/effects/effectchainslot.cpp @@ -186,9 +186,9 @@ void EffectChainSlot::setDescription(const QString& description) { } void EffectChainSlot::loadEffect(const unsigned int iEffectSlotNumber, - EffectManifestPointer pManifest, - EffectInstantiatorPointer pInstantiator) { - m_effectSlots[iEffectSlotNumber]->loadEffect(pManifest, pInstantiator, + const EffectManifestPointer pManifest, + std::unique_ptr<EffectProcessor> pProcessor) { + m_effectSlots[iEffectSlotNumber]->loadEffect(pManifest, std::move(pProcessor), m_enabledInputChannels); } |