1 |
/*************************************************************************** |
/*************************************************************************** |
2 |
* * |
* * |
3 |
* Copyright (C) 2004, 2005 Grame * |
* Copyright (C) 2004, 2005 Grame * |
4 |
* Copyright (C) 2005 - 2007 Christian Schoenebeck * |
* Copyright (C) 2005 - 2008 Christian Schoenebeck * |
5 |
* * |
* * |
6 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
7 |
* 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 * |
102 |
port->DispatchBankSelectMsb(packet->data[2],packet->data[0]&0x0F); |
port->DispatchBankSelectMsb(packet->data[2],packet->data[0]&0x0F); |
103 |
else if (packet->data[1] == 32) |
else if (packet->data[1] == 32) |
104 |
port->DispatchBankSelectLsb(packet->data[2],packet->data[0]&0x0F); |
port->DispatchBankSelectLsb(packet->data[2],packet->data[0]&0x0F); |
105 |
else |
port->DispatchControlChange(packet->data[1],packet->data[2],packet->data[0]&0x0F); |
|
port->DispatchControlChange(packet->data[1],packet->data[2],packet->data[0]&0x0F); |
|
106 |
break; |
break; |
107 |
|
|
108 |
case 0xD0: |
case 0xD0: |
109 |
port->DispatchControlChange(128,packet->data[1],packet->data[0]&0x0F); |
port->DispatchControlChange(128,packet->data[1],packet->data[0]&0x0F); |
110 |
break; |
break; |
111 |
|
|
112 |
case 0xE0: |
case 0xE0: |
175 |
} |
} |
176 |
|
|
177 |
String MidiInputDeviceCoreMidi::Version() { |
String MidiInputDeviceCoreMidi::Version() { |
178 |
String s = "$Revision: 1.10 $"; |
String s = "$Revision: 1.11 $"; |
179 |
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 |
180 |
} |
} |
181 |
|
|