20 #ifndef __JackALSARawMidiPort__
21 #define __JackALSARawMidiPort__
23 #include <alsa/asoundlib.h>
26 #include "JackConstants.h"
34 char alias[REAL_JACK_PORT_NAME_SIZE];
35 struct pollfd *alsa_poll_fds;
36 int alsa_poll_fd_count;
38 unsigned short io_mask;
39 char name[REAL_JACK_PORT_NAME_SIZE];
40 struct pollfd *queue_poll_fd;
44 snd_rawmidi_t *rawmidi;
53 SetIOEventsEnabled(
bool enabled);
56 SetQueueEventsEnabled(
bool enabled);
64 unsigned short io_mask);
76 GetPollDescriptorCount();
79 PopulatePollDescriptors(
struct pollfd *poll_fd);