From 4affdd7e53e4c8a0b9c3f657be4f55423263647a Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Fri, 26 Jul 2024 10:44:33 -0400 Subject: [PATCH] Fix an MSVC error and default mix to 0.5 --- include/sst/effects/Nimbus.h | 2 +- include/sst/effects/NimbusImpl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sst/effects/Nimbus.h b/include/sst/effects/Nimbus.h index f17d240..c66da5f 100644 --- a/include/sst/effects/Nimbus.h +++ b/include/sst/effects/Nimbus.h @@ -167,7 +167,7 @@ template struct Nimbus : core::EffectTemplateBase case nmb_reverb: return pmd().asPercent().withName("Reverb").withDefault(0.f); case nmb_mix: - return pmd().asPercent().withName("Mix").withDefault(0.f); + return pmd().asPercent().withName("Mix").withDefault(0.5f); case nmb_num_params: break; } diff --git a/include/sst/effects/NimbusImpl.h b/include/sst/effects/NimbusImpl.h index 672eb1d..be915c1 100644 --- a/include/sst/effects/NimbusImpl.h +++ b/include/sst/effects/NimbusImpl.h @@ -37,7 +37,7 @@ #undef TEST #ifdef _MSC_VER -#undefine __attribute__ +#undef __attribute__ #endif namespace sst::effects::nimbus