24 #ifndef __MIDIDRIVER_H__ 25 #define __MIDIDRIVER_H__ 27 #if !defined(Q_OS_WIN) 54 Port(
unsigned char client,
unsigned char port);
77 virtual bool init() = 0;
78 virtual void getInputPollFd(
struct pollfd**,
int* n) = 0;
79 virtual void getOutputPollFd(
struct pollfd**,
int* n) = 0;
80 virtual void read() = 0;
81 virtual void write(
const Event&) = 0;
Port()
Definition: mididriver.cpp:42
MidiDriver(Seq *s)
Definition: mididriver.h:75
unsigned char _alsaPort
Definition: mididriver.h:45
unsigned char alsaPort() const
Definition: mididriver.h:49
Definition: mididriver.h:44
virtual ~MidiDriver()
Definition: mididriver.h:76
QList< Port > midiOutPorts
Definition: mididriver.h:71
Definition: mididriver.h:68
Seq * seq
Definition: mididriver.h:72
Definition: aeolus.cpp:26
Port midiInPort
Definition: mididriver.h:70
bool operator<(const Port &p) const
Definition: mididriver.cpp:88
unsigned char alsaClient() const
Definition: mididriver.h:50
bool isZero() const
Definition: mididriver.cpp:67
Definition: mididriver.h:43
unsigned char _alsaClient
Definition: mididriver.h:46
bool operator==(const Port &p) const
Definition: mididriver.cpp:76
Definition: mididriver.h:44
Definition: alsamidi.h:40
void setZero()
Definition: mididriver.cpp:58