summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/audioinputenginemidi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audioinputenginemidi.cc b/src/audioinputenginemidi.cc
index 7b8cbcb..abe00ff 100644
--- a/src/audioinputenginemidi.cc
+++ b/src/audioinputenginemidi.cc
@@ -109,7 +109,7 @@ void AudioInputEngineMidi::processNote(const std::uint8_t* midi_buffer,
std::size_t offset,
std::vector<event_t>& events)
{
- if(midi_buffer_length != 3)
+ if(midi_buffer_length < 3)
{
return;
}