[alsa-devel] rawmidi virtual and long sysexes

Clemens Ladisch clemens at ladisch.de
Tue Dec 22 06:51:47 CET 2015


Ryan C. Underwood wrote:
>Basically, the rawmidi virtual plugin enforces a 256-byte limit on
>events, and emits multiple events if e.g. a >256 byte sysex is
>encountered.

All sequencer clients have such a limit.

>This does not seem to be documented behavior for
>snd_seq_event_input(), nor is the fixed limit described anywhere.

Yes, the documentation is lacking.

>Would it be better if the maximum event size could be configured
>through params?  That would avoid needing this clumsy workaround by
>sequencer clients.

Handling split messages cannot be avoided; the API is not
capable of sending arbitrarily large messages.


Regards,
Clemens



More information about the Alsa-devel mailing list