diff options
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r-- | src/drumgizmo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc index b7b2841..7da5947 100644 --- a/src/drumgizmo.cc +++ b/src/drumgizmo.cc @@ -122,7 +122,7 @@ bool DrumGizmo::run(size_t pos, sample_t *samples, size_t nsamples) continue; } - Sample *s = i->sample(evs[e].velocity); + Sample *s = i->sample(evs[e].velocity, evs[e].offset + pos); if(s == NULL) { printf("Missing Sample.\n"); |