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

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

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

revision 1344 by schoenebeck, Thu Sep 13 08:46:51 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 234  namespace LinuxSampler { Line 234  namespace LinuxSampler {
234      }      }
235    
236      String MidiInputDeviceAlsa::Version() {      String MidiInputDeviceAlsa::Version() {
237              String s = "$Revision: 1.21 $";              String s = "$Revision: 1.22 $";
238              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
239      }      }
240    
# Line 259  namespace LinuxSampler { Line 259  namespace LinuxSampler {
259                                  pMidiInputPort->DispatchBankSelectMsb(ev->data.control.value, ev->data.control.channel);                                  pMidiInputPort->DispatchBankSelectMsb(ev->data.control.value, ev->data.control.channel);
260                              else if (ev->data.control.param == 32)                              else if (ev->data.control.param == 32)
261                                  pMidiInputPort->DispatchBankSelectLsb(ev->data.control.value, ev->data.control.channel);                                  pMidiInputPort->DispatchBankSelectLsb(ev->data.control.value, ev->data.control.channel);
262                              else                              pMidiInputPort->DispatchControlChange(ev->data.control.param, ev->data.control.value, ev->data.control.channel);
                                 pMidiInputPort->DispatchControlChange(ev->data.control.param, ev->data.control.value, ev->data.control.channel);  
263                              break;                              break;
264    
265                          case SND_SEQ_EVENT_CHANPRESS:                          case SND_SEQ_EVENT_CHANPRESS:

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

  ViewVC Help
Powered by ViewVC