jackaudio / jack1

jack1 codebase
Other
250 stars 71 forks source link

fix 8bit netjack MIDI payload size. #32

Closed ventosus closed 8 years ago

ventosus commented 8 years ago

MIDI payload size in 8bit netjack MIDI mode is calculated wrongly (assumes 16bit sample size).

This bug sits at the decoding end and seems to be without concequences, as the MIDI payload size in 8bit netjack MIDI mode at the encoding end is done right and the decoding buffer thus cannot overflow even with a wrongly calculated MIDI payload size.