Hi,

I have a question about portmidi: how to decide buffer size for
Pm_OpenInput(). Most of the sysex messages are short, less than 50 bytes.
But SysEx is also used to transfer large chunks of memory, such as sending
synth patches and firmware updates. And in these cases, very large buffer
sizes are required.

Should I define the buffer size for the maximum expected sysex message? Is
there a dynamic buffer allocation facility implemented in the library so
that each time the current SysEx packet is about to fill up the buffer, a
new one, larger, is allocated, and the old one copied into it?

Thank you
Cecilio Salmeron
_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to