193 |
} |
} |
194 |
|
|
195 |
String MidiInputDeviceAlsa::Version() { |
String MidiInputDeviceAlsa::Version() { |
196 |
String s = "$Revision: 1.10 $"; |
String s = "$Revision: 1.11 $"; |
197 |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword |
198 |
} |
} |
199 |
|
|
235 |
case SND_SEQ_EVENT_NOTEOFF: |
case SND_SEQ_EVENT_NOTEOFF: |
236 |
pMidiInputPort->DispatchNoteOff(ev->data.note.note, ev->data.note.velocity, ev->data.control.channel); |
pMidiInputPort->DispatchNoteOff(ev->data.note.note, ev->data.note.velocity, ev->data.control.channel); |
237 |
break; |
break; |
238 |
|
|
239 |
|
case SND_SEQ_EVENT_SYSEX: |
240 |
|
pMidiInputPort->DispatchSysex(ev->data.ext.ptr, ev->data.ext.len); |
241 |
|
break; |
242 |
} |
} |
243 |
snd_seq_free_event(ev); |
snd_seq_free_event(ev); |
244 |
} while (snd_seq_event_input_pending(hAlsaSeq, 0) > 0); |
} while (snd_seq_event_input_pending(hAlsaSeq, 0) > 0); |