diff options
author | Ferran Pujol Camins <ferranpujolcamins@gmail.com> | 2022-09-30 21:38:44 +0200 |
---|---|---|
committer | Ferran Pujol Camins <ferranpujolcamins@gmail.com> | 2022-09-30 21:38:44 +0200 |
commit | 77e77409f8a4811ec7bfa283e588e590c55208cf (patch) | |
tree | ccec4e587c35b4dbbdfd0c36597a4beb14ba5419 /src/effects | |
parent | 282e75624cf609df1f9547bb0756627dd51d9bb7 (diff) |
Fix warnings
Diffstat (limited to 'src/effects')
-rw-r--r-- | src/effects/backends/builtin/distortioneffect.cpp | 12 | ||||
-rw-r--r-- | src/effects/backends/builtin/distortioneffect.h | 2 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/effects/backends/builtin/distortioneffect.cpp b/src/effects/backends/builtin/distortioneffect.cpp index 16ac7a419c..b9b196b1bd 100644 --- a/src/effects/backends/builtin/distortioneffect.cpp +++ b/src/effects/backends/builtin/distortioneffect.cpp @@ -139,19 +139,23 @@ void DistortionEffect::processChannel( switch (m_pMode->toInt()) { case SoftClipping: - process<SoftClippingParameters>(driveParam, pState, pOutput, pInput, engineParameters); + processDistortion<SoftClippingParameters>( + driveParam, pState, pOutput, pInput, engineParameters); break; case HardClipping: - process<HardClippingParameters>(driveParam, pState, pOutput, pInput, engineParameters); + processDistortion<HardClippingParameters>( + driveParam, pState, pOutput, pInput, engineParameters); break; case SoftFolding: - process<SoftFoldingParameters>(driveParam, pState, pOutput, pInput, engineParameters); + processDistortion<SoftFoldingParameters>( + driveParam, pState, pOutput, pInput, engineParameters); break; case HardFolding: - process<HardFoldingParameters>(driveParam, pState, pOutput, pInput, engineParameters); + processDistortion<HardFoldingParameters>( + driveParam, pState, pOutput, pInput, engineParameters); break; default: diff --git a/src/effects/backends/builtin/distortioneffect.h b/src/effects/backends/builtin/distortioneffect.h index b9b0311ff1..b0a415df1b 100644 --- a/src/effects/backends/builtin/distortioneffect.h +++ b/src/effects/backends/builtin/distortioneffect.h @@ -52,7 +52,7 @@ class DistortionEffect : public EffectProcessorImpl<DistortionGroupState> { struct HardFoldingParameters; template<typename ModeParams> - void process(CSAMPLE driveParam, + void processDistortion(CSAMPLE driveParam, DistortionGroupState* pState, CSAMPLE* pOutput, const CSAMPLE* pInput, |