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

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

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

revision 879 by persson, Wed Feb 8 20:28:46 2006 UTC revision 880 by schoenebeck, Tue Jun 27 22:57:37 2006 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 Christian Schoenebeck                              *   *   Copyright (C) 2005, 2006 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 55  namespace LinuxSampler { Line 55  namespace LinuxSampler {
55          return true;          return true;
56      }      }
57    
58      void MidiInputDevice::ParameterActive::OnSetValue(bool b) throw (LinuxSamplerException) {      void MidiInputDevice::ParameterActive::OnSetValue(bool b) throw (Exception) {
59          if (b) ((MidiInputDevice*)pDevice)->Listen();          if (b) ((MidiInputDevice*)pDevice)->Listen();
60          else ((MidiInputDevice*)pDevice)->StopListen();          else ((MidiInputDevice*)pDevice)->StopListen();
61      }      }
# Line 108  namespace LinuxSampler { Line 108  namespace LinuxSampler {
108          return std::vector<int>();          return std::vector<int>();
109      }      }
110    
111      void MidiInputDevice::ParameterPorts::OnSetValue(int i) throw (LinuxSamplerException) {      void MidiInputDevice::ParameterPorts::OnSetValue(int i) throw (Exception) {
112          ((MidiInputDevice*)pDevice)->AcquirePorts(i);          ((MidiInputDevice*)pDevice)->AcquirePorts(i);
113      }      }
114    

Legend:
Removed from v.879  
changed lines
  Added in v.880

  ViewVC Help
Powered by ViewVC