ALSA backend RT-safe MIDI buffer allocation

This commit is contained in:
Robin Gareus 2017-08-05 15:03:06 +02:00
parent 2b7c585dba
commit 59a63a08f9
5 changed files with 42 additions and 45 deletions

View file

@ -26,6 +26,10 @@
#include "pbd/ringbuffer.h"
#include "ardour/types.h"
/* max bytes per individual midi-event
* events larger than this are ignored */
#define MaxAlsaMidiEventSize (64)
namespace ARDOUR {
class AlsaMidiIO {