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 * |
254 |
DispatchBankSelectMsb(data[2], data[0] & 0x0F); |
DispatchBankSelectMsb(data[2], data[0] & 0x0F); |
255 |
else if (data[1] == 32) |
else if (data[1] == 32) |
256 |
DispatchBankSelectLsb(data[2], data[0] & 0x0F); |
DispatchBankSelectLsb(data[2], data[0] & 0x0F); |
257 |
else |
DispatchControlChange(data[1], data[2], data[0] & 0x0F); |
|
DispatchControlChange(data[1], data[2], data[0] & 0x0F); |
|
258 |
break; |
break; |
259 |
|
|
260 |
case 0xD0: |
case 0xD0: |
374 |
} |
} |
375 |
|
|
376 |
String MidiInputDeviceMme::Version() { |
String MidiInputDeviceMme::Version() { |
377 |
String s = "$Revision: 1.2 $"; |
String s = "$Revision: 1.3 $"; |
378 |
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 |
379 |
} |
} |
380 |
|
|