commit a45661fb8b75a5f95c452dc1a80630f7871d253d
parent d96d0497eb02b2388ceb6e09afa500222b11f28c
Author: falkTX <falktx@falktx.com>
Date: Sat, 18 Sep 2021 13:11:51 +0100
Fix uninitialized values in metronome example
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/examples/Metronome/ExamplePluginMetronome.cpp b/examples/Metronome/ExamplePluginMetronome.cpp
@@ -72,7 +72,9 @@ public:
: Plugin(4, 0, 0), // 4 parameters, 0 programs, 0 states
sampleRate(getSampleRate()),
counter(0),
+ wasPlaying(false),
phase(0.0f),
+ envelope(1.0f),
decay(0.0f),
gain(0.5f),
semitone(72),