9 Mar
2015
9 Mar
'15
8:40 p.m.
Ricard Wanderlof wrote:
On Mon, 9 Mar 2015, Clemens Ladisch wrote:
If the data is larger than the RawMIDI buffer size (4096 bytes), the sequencer does not wait (like snd_rawmidi_write() would do), but just drops data.
I have noted though, that when sending data with snd_seq_ev_set_sysex() that the ALSA lib internally copies the data to an internal, malloced buffer, so I always thought that it would take care of any amount of data from there, but apparently not then?
The sequencer was designed for real-time events. When events are scheduled to be sent later, there is no good mechanism to let the current buffer fill level influence the timing of events, or to report errors back.
Regards, Clemens