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

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

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

revision 1714 by senoner, Wed Nov 21 00:52:09 2007 UTC revision 1715 by schoenebeck, Tue Mar 11 15:20:46 2008 UTC
# Line 3  Line 3 
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  *
# Line 254  void MidiInputDeviceMme::MidiInputPortMm Line 254  void MidiInputDeviceMme::MidiInputPortMm
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:
# Line 375  void MidiInputDeviceMme::MidiInputPortMm Line 374  void MidiInputDeviceMme::MidiInputPortMm
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    

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

  ViewVC Help
Powered by ViewVC