diff options
Diffstat (limited to 'src/inputprocessor.cc')
-rw-r--r-- | src/inputprocessor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc index a5d8213..1676090 100644 --- a/src/inputprocessor.cc +++ b/src/inputprocessor.cc @@ -72,7 +72,7 @@ bool InputProcessor::processOnset(const event_t& event, size_t pos, double resam if(ev_instr < kit.instruments.size()) { - instr = kit.instruments[ev_instr]; + instr = kit.instruments[ev_instr].get(); } if(instr == nullptr || !instr->isValid()) |