Skip to content

Commit

Permalink
Cleanup: Better initialization of clipOn
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseDiazRohena committed Jul 14, 2023
1 parent 49f4230 commit 3fb15ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PluginProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class ValentineAudioProcessor : public juce::AudioProcessor,
juce::Atomic<bool> bypassOn {false};
juce::Atomic<bool> clipOn {
FFCompParameterDefaults[static_cast<size_t> (VParameter::outputClipEnable)]
> 0.0f};
> 0.5f};
bool clipOnState = clipOn.get();
juce::Atomic<bool> saturateOn = FFCompParameterDefaults[static_cast<size_t> (VParameter::saturateEnable)]
> 0.5f;
Expand Down

0 comments on commit 3fb15ec

Please sign in to comment.