/[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 1714 by nagata, Sun Jan 13 16:36:14 2008 UTC revision 1715 by schoenebeck, Tue Mar 11 15:20:46 2008 UTC
# Line 1  Line 1 
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  *
# Line 102  namespace LinuxSampler { Line 102  namespace LinuxSampler {
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:
# Line 176  namespace LinuxSampler { Line 175  namespace LinuxSampler {
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    

Legend:
Removed from v.1714  
changed lines
  Added in v.1715

  ViewVC Help
Powered by ViewVC