From 17f6fc9ccf61c1776f977353cddf0236a2e39b7f Mon Sep 17 00:00:00 2001 From: Javier Nonis Date: Fri, 26 Jul 2024 20:47:27 -0300 Subject: [PATCH] Fix missing Send FX setup for Phasers --- src/effect_audio/effect_aphaser.h | 5 +++++ src/effect_audio/effect_phaser.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/effect_audio/effect_aphaser.h b/src/effect_audio/effect_aphaser.h index 9a7be20..0cd8f1f 100644 --- a/src/effect_audio/effect_aphaser.h +++ b/src/effect_audio/effect_aphaser.h @@ -63,6 +63,11 @@ public: return EFFECT_APHASER; } + virtual void initializeSendFX() + { + this->setParameter(AudioEffectAPhaser::Param::WETDRY, 127); + } + virtual void setParameter(unsigned param, unsigned value) { switch (param) diff --git a/src/effect_audio/effect_phaser.h b/src/effect_audio/effect_phaser.h index e9e2160..d2722dc 100644 --- a/src/effect_audio/effect_phaser.h +++ b/src/effect_audio/effect_phaser.h @@ -63,6 +63,11 @@ public: return EFFECT_PHASER; } + virtual void initializeSendFX() + { + this->setParameter(AudioEffectPhaser::Param::WETDRY, 127); + } + virtual void setParameter(unsigned param, unsigned value) { switch (param)