/[svn]/linuxsampler/trunk/src/drivers/midi/MidiInputDeviceCoreMidi.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/midi/MidiInputDeviceCoreMidi.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 946 by persson, Sat Jul 22 14:22:53 2006 UTC revision 947 by schoenebeck, Mon Nov 27 21:34:55 2006 UTC
# Line 90  namespace LinuxSampler { Line 90  namespace LinuxSampler {
90                          switch(cin) { // status byte                          switch(cin) { // status byte
91    
92                                  case 0xB0:                                  case 0xB0:
93                                          port->DispatchControlChange(packet->data[1],packet->data[2],packet->data[0]&0x0F);                                          if (packet->data[1] == 0)
94                                                    port->DispatchBankSelectMsb(packet->data[2],packet->data[0]&0x0F);
95                                            else if (packet->data[1] == 32)
96                                                    port->DispatchBankSelectLsb(packet->data[2],packet->data[0]&0x0F);
97                                            else
98                                                    port->DispatchControlChange(packet->data[1],packet->data[2],packet->data[0]&0x0F);
99                                          break;                                          break;
100    
101                                  case 0xD0:                                  case 0xD0:
# Line 163  namespace LinuxSampler { Line 168  namespace LinuxSampler {
168      }      }
169    
170      String MidiInputDeviceCoreMidi::Version() {      String MidiInputDeviceCoreMidi::Version() {
171              String s = "$Revision: 1.7 $";              String s = "$Revision: 1.8 $";
172              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
173      }      }
174    

Legend:
Removed from v.946  
changed lines
  Added in v.947

  ViewVC Help
Powered by ViewVC