[gephex-devel] [Bug 115] libmidi does not support "running status"

bugzilla-daemon at sonnenland.kexbox.org bugzilla-daemon at sonnenland.kexbox.org
Sat Mar 26 16:58:23 CET 2005


https://bugs.gephex.org/show_bug.cgi?id=115

georg at gephex.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From georg at gephex.org  2005-03-26 16:58 -------
Looking at the code, running status is supported, but only inside of one midi buffer.
The parser does not keep state between calls of midi_parse_data.
This is OK, since incomplete midi messages are signalled to the caller with
the return value (number of parsed bytes).
If the number of parsed bytes is less than the buffer len, the caller knows that there
is an incomplete midi message at the end of the buffer. This can be put before
the next data block given to midi_parse_data.

However, the parser must remember the running status byte (if any) across calls.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the gephex-devel mailing list