Relax max MIDI msg size to 256 (for long sysex)

(win-mme already used 256, CoreMIDI can handle up to 256 as can ALSA)
This commit is contained in:
Robin Gareus 2017-12-19 17:41:57 +01:00
parent f9d7a3720d
commit 4ebcef53f8
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
/* max bytes per individual midi-event
* events larger than this are ignored */
#define MaxAlsaMidiEventSize (128)
#define MaxAlsaMidiEventSize (256)
namespace ARDOUR {

View File

@ -38,7 +38,7 @@
#include "coreaudio_pcmio.h"
#include "coremidi_io.h"
#define MaxCoreMidiEventSize 128 // matches CoreMidi's MIDIPacket
#define MaxCoreMidiEventSize 256 // matches CoreMidi's MIDIPacket (https://developer.apple.com/documentation/coremidi/midipacket)
namespace ARDOUR {