This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix uninitialized values in metronome example
Signed-off-by: falkTX <falktx@falktx.com>
pull/327/head
falkTX
3 years ago
parent
d96d0497eb
commit
a45661fb8b
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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),
Write
Preview
Loading…
Cancel
Save