Browse Source

Fix uninitialized values in metronome example

Signed-off-by: falkTX <falktx@falktx.com>
pull/327/head
falkTX 3 years ago
parent
commit
a45661fb8b
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      examples/Metronome/ExamplePluginMetronome.cpp

+ 2
- 0
examples/Metronome/ExamplePluginMetronome.cpp View File

@@ -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),


Loading…
Cancel
Save