20 #ifndef __JackALSARawMidiPort__
21 #define __JackALSARawMidiPort__
23 #include <alsa/asoundlib.h>
26 #include "JackConstants.h"
34 char alias[REAL_JACK_PORT_NAME_SIZE+1];
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+1];
40 char device_name[REAL_JACK_PORT_NAME_SIZE+1];
41 struct pollfd *queue_poll_fd;
45 snd_rawmidi_t *rawmidi;
54 SetIOEventsEnabled(
bool enabled);
57 SetQueueEventsEnabled(
bool enabled);
65 size_t index,
unsigned short io_mask);
80 GetPollDescriptorCount();
83 PopulatePollDescriptors(
struct pollfd *poll_fd);