summaryrefslogtreecommitdiffstats
path: root/src/effects/effectchainslot.cpp
diff options
context:
space:
mode:
authorBe <be@mixxx.org>2020-04-02 18:29:01 -0500
committerBe <be@mixxx.org>2020-04-02 18:29:01 -0500
commit6ed410276d5c6e5417d1f7b41d4c73f87a43dc0a (patch)
tree373de09a0a82e91cc3ab35bad0f7099be595cfa3 /src/effects/effectchainslot.cpp
parent15c3ac562d64bf4be247cf596109718fbed1d63c (diff)
remove hacks for hiding LV2 effect parameters
This will be replaced by the EffectPreset system with the ability to set custom defaults for any effect, not just LV2 effects.
Diffstat (limited to 'src/effects/effectchainslot.cpp')
-rw-r--r--src/effects/effectchainslot.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/effects/effectchainslot.cpp b/src/effects/effectchainslot.cpp
index 67d6297602..bedadcbf53 100644
--- a/src/effects/effectchainslot.cpp
+++ b/src/effects/effectchainslot.cpp
@@ -195,24 +195,6 @@ void EffectChainSlot::loadEffect(const unsigned int iEffectSlotNumber,
m_enabledInputChannels);
}
-void EffectChainSlot::hideEffectParameter(EffectManifestPointer pManifest,
- const unsigned int position) {
- for (EffectSlotPointer pEffectSlot : m_effectSlots) {
- if (pEffectSlot->getManifest() == pManifest) {
- pEffectSlot->hideEffectParameter(position);
- }
- }
-}
-
-void EffectChainSlot::setEffectParameterPosition(EffectManifestPointer pManifest,
- const unsigned int parameterId, const unsigned int position) {
- for (EffectSlotPointer pEffectSlot : m_effectSlots) {
- if (pEffectSlot->getManifest() == pManifest) {
- pEffectSlot->setEffectParameterPosition(parameterId, position);
- }
- }
-}
-
void EffectChainSlot::sendParameterUpdate() {
EffectsRequest* pRequest = new EffectsRequest();
pRequest->type = EffectsRequest::SET_EFFECT_CHAIN_PARAMETERS;