Tweaks to ALSA midi handling

This commit is contained in:
Jack Andersen
2016-05-20 15:16:28 -10:00
parent df61d6678b
commit 6f04bea1f0
3 changed files with 8 additions and 18 deletions

View File

@@ -47,6 +47,8 @@ MIDIDecoder::receiveBytes(std::vector<uint8_t>::const_iterator begin,
uint8_t b;
if (a & 0x80)
m_status = a;
else
it--;
uint8_t chan = m_status & 0xf;
switch (Status(m_status & 0xf0))