7#ifndef __AUDIO_RTMIDI_DEVICE_H__
8#define __AUDIO_RTMIDI_DEVICE_H__
10#include "zrythm-config.h"
26# define MIDI_BUFFER_SIZE 32768
34 RTMIDI_DEVICE_FLOW_OUTPUT,
35 RTMIDI_DEVICE_FLOW_INPUT,
38typedef struct RtMidiDevice
55 RtMidiInPtr in_handle;
58 RtMidiOutPtr out_handle;
84 unsigned int device_id,
96rtmidi_device_open (RtMidiDevice * dev,
int start);
104rtmidi_device_close (RtMidiDevice * self,
int free);
107rtmidi_device_start (RtMidiDevice * self);
110rtmidi_device_stop (RtMidiDevice * self);
113rtmidi_device_free (RtMidiDevice * self);
Container for passing midi events through ports.
Must ONLY be created via port_new()