/[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 2494 by schoenebeck, Wed Jan 1 17:48:01 2014 UTC revision 2559 by schoenebeck, Sun May 18 17:38:25 2014 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 - 2009 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2014 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 315  namespace LinuxSampler { Line 315  namespace LinuxSampler {
315                              break;                              break;
316    
317                          case SND_SEQ_EVENT_CHANPRESS:                          case SND_SEQ_EVENT_CHANPRESS:
318                              pMidiInputPort->DispatchControlChange(128, ev->data.control.value, ev->data.control.channel);                              pMidiInputPort->DispatchChannelPressure(ev->data.control.value, ev->data.control.channel);
319                                break;
320    
321                            case SND_SEQ_EVENT_KEYPRESS:
322                                pMidiInputPort->DispatchPolyphonicKeyPressure(ev->data.note.note, ev->data.note.velocity, ev->data.control.channel);
323                              break;                              break;
324    
325                          case SND_SEQ_EVENT_PITCHBEND:                          case SND_SEQ_EVENT_PITCHBEND:

Legend:
Removed from v.2494  
changed lines
  Added in v.2559

  ViewVC Help
Powered by ViewVC