midi: Fix SysEx parser in MIDI plugin
authorTedd Ho-Jeong An <tedd.an@intel.com>
Fri, 19 Jun 2020 18:34:55 +0000 (11:34 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 12 Apr 2021 09:00:49 +0000 (14:30 +0530)
commit239f1fd8010c6221db1f81937a259f6af902b0e4
tree576361839ffd31b497c8618927119c2d45300487
parente4689d9f3df1409d165d00f638c680fe0d0a2943
midi: Fix SysEx parser in MIDI plugin

The SysEx end of message parser didn't consider the fact that
timestampsLow are in the stream and it might have the EOX (F7)
byte as well.

Fix that by always assuming the first system message byte is
the timestampLow.

Future work would involve support other type of system message
bytes, such as real-time.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
profiles/midi/libmidi.c