Skip to content

Commit

Permalink
Fix an MSVC error and default mix to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Jul 26, 2024
1 parent 903ad07 commit 4affdd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/sst/effects/Nimbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ template <typename FXConfig> struct Nimbus : core::EffectTemplateBase<FXConfig>
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;
}
Expand Down
2 changes: 1 addition & 1 deletion include/sst/effects/NimbusImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#undef TEST
#ifdef _MSC_VER
#undefine __attribute__
#undef __attribute__
#endif

namespace sst::effects::nimbus
Expand Down

0 comments on commit 4affdd7

Please sign in to comment.