27 #include <libtdemid/midiout.h>
30 typedef struct snd_seq_event snd_seq_event_t;
69 virtual void seqbuf_dump (
void);
70 virtual void seqbuf_clean(
void);
71 void eventInit(snd_seq_event_t *ev);
72 void eventSend(snd_seq_event_t *ep);
73 void timerEventSend(
int type);
82 AlsaOut(
int d,
int client=64,
int port=0,
const char *cname=
"",
const char *pname=
"");
99 virtual void openDev (
int sqfd);
140 int rate (
void) {
return m_rate; }
145 virtual void noteOn ( uchar chn, uchar note, uchar vel );
150 virtual void noteOff ( uchar chn, uchar note, uchar vel );
155 virtual void keyPressure ( uchar chn, uchar note, uchar vel );
175 virtual void chnController ( uchar chn, uchar ctl , uchar v );
180 virtual void sysex ( uchar *data,ulong size);
204 { volumepercentage = volper; }
210 {
if (seqfd<0)
return 0;
214 virtual void wait (
double ticks);
227 class AlsaOutPrivate;