7#ifndef __AUDIO_RTMIDI_DEVICE_H__
8#define __AUDIO_RTMIDI_DEVICE_H__
10#include "zrythm-config.h"
27# define MIDI_BUFFER_SIZE 32768
35 RTMIDI_DEVICE_FLOW_OUTPUT,
36 RTMIDI_DEVICE_FLOW_INPUT,
39typedef struct RtMidiDevice
56 RtMidiInPtr in_handle;
59 RtMidiOutPtr out_handle;
85 unsigned int device_id,
97rtmidi_device_open (RtMidiDevice * dev,
int start);
105rtmidi_device_close (RtMidiDevice * self,
int free);
108rtmidi_device_start (RtMidiDevice * self);
111rtmidi_device_stop (RtMidiDevice * self);
114rtmidi_device_free (RtMidiDevice * self);
Container for passing midi events through ports.
Must ONLY be created via port_new()