329 | | // On no occasion has more than one MIDI data byte been observed in a |
---|
330 | | // single packet coming from a MOTU device. This is fortunate given |
---|
331 | | // the alignment requirement imposed by the FFADO MIDI layer. |
---|
| 329 | // Some MOTUs (eg: the 868MkII send more than one MIDI byte in some |
---|
| 330 | // packets, so allow for this. Because of the requirement by the FFADO |
---|
| 331 | // MIDI layer to align MIDI data in multiples of 8 samples the buffer |
---|
| 332 | // must be incremented by 8 samples after every byte. This seems to |
---|
| 333 | // work in some cases but is probably wrong in the case where there is |
---|
| 334 | // more than one MIDI byte per packet since we have no guarantee that |
---|
| 335 | // the buffer is larger than nevents samples. This will need to be fixed, |
---|
| 336 | // probably by using some of our own buffering. |
---|