diff options
Diffstat (limited to 'MIDI.cpp')
-rw-r--r-- | MIDI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -149,7 +149,7 @@ void MIDI::process(snd_seq_event_t *ev) log_cout << fmt::format("[{}] Unknown MIDI event: {}", timestamp_from_event(ev), ev->type) << std::endl; } - signal_count_events(); + signal_count_events(snd_seq_event_length(ev)); } void MIDI::flush() @@ -172,4 +172,3 @@ void MIDI::wait_for_event() throw std::runtime_error("Poll unsuccessful"); } } - |