diff options
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r-- | src/drumgizmo.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index 85624ca..7ccf6b7 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -26,11 +26,9 @@ */ #include "drumgizmo.h" -#include <cmath> #include <cstdio> #include <cassert> #include <cstring> -#include <mutex> #include "audiotypes.h" #include <config.h> @@ -174,7 +172,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) } } - events.push_back({EventType::OnSet, instrument_index, 0, velocity}); + events.push_back({EventType::OnSet, instrument_index, 0, InstrumentStateKind::NoneOrAny, velocity}); } bool active_events_left = |