3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
* Copyright (C) 2005 - 2008 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
234 |
} |
} |
235 |
|
|
236 |
String MidiInputDeviceAlsa::Version() { |
String MidiInputDeviceAlsa::Version() { |
237 |
String s = "$Revision: 1.21 $"; |
String s = "$Revision: 1.22 $"; |
238 |
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 |
239 |
} |
} |
240 |
|
|
259 |
pMidiInputPort->DispatchBankSelectMsb(ev->data.control.value, ev->data.control.channel); |
pMidiInputPort->DispatchBankSelectMsb(ev->data.control.value, ev->data.control.channel); |
260 |
else if (ev->data.control.param == 32) |
else if (ev->data.control.param == 32) |
261 |
pMidiInputPort->DispatchBankSelectLsb(ev->data.control.value, ev->data.control.channel); |
pMidiInputPort->DispatchBankSelectLsb(ev->data.control.value, ev->data.control.channel); |
262 |
else |
pMidiInputPort->DispatchControlChange(ev->data.control.param, ev->data.control.value, ev->data.control.channel); |
|
pMidiInputPort->DispatchControlChange(ev->data.control.param, ev->data.control.value, ev->data.control.channel); |
|
263 |
break; |
break; |
264 |
|
|
265 |
case SND_SEQ_EVENT_CHANPRESS: |
case SND_SEQ_EVENT_CHANPRESS: |