Browse Source

Fix uninitialized memory with sfzero and note-offs before note-ons

tags/v1.9.11
falkTX 6 years ago
parent
commit
7b8112b556
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      source/modules/sfzero/sfzero/SFZSynth.cpp

+ 4
- 1
source/modules/sfzero/sfzero/SFZSynth.cpp View File

@@ -12,7 +12,10 @@
namespace sfzero
{

Synth::Synth() : Synthesiser() {}
Synth::Synth() : Synthesiser()
{
carla_zeroStructs(noteVelocities_, 128);
}

void Synth::noteOn(int midiChannel, int midiNoteNumber, float velocity)
{


Loading…
Cancel
Save