End marker for sysex messages is now optional.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2878 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
mahlzeit 2003-03-10 14:55:22 +00:00
parent 6b793d4c78
commit 92185c23c0

View File

@ -183,6 +183,10 @@ void BMidiLocalConsumer::Data(
{
SystemExclusive(data + 1, length - 2, time);
}
else // sysex-end is not required
{
SystemExclusive(data + 1, length - 1, time);
}
break;
}