/[svn]/linuxsampler/trunk/src/drivers/midi/MidiInputPort.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/drivers/midi/MidiInputPort.h

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

revision 674 by schoenebeck, Tue May 17 18:16:54 2005 UTC revision 675 by schoenebeck, Wed Jun 22 22:09:28 2005 UTC
# Line 28  Line 28 
28  #include "../../common/Mutex.h"  #include "../../common/Mutex.h"
29  #include "../../common/LinuxSamplerException.h"  #include "../../common/LinuxSamplerException.h"
30  #include "../DeviceParameter.h"  #include "../DeviceParameter.h"
31    #include "midi.h"
32  #include "MidiInputDevice.h"  #include "MidiInputDevice.h"
33  #include "../../engines/common/EngineChannel.h"  #include "../../engines/common/EngineChannel.h"
34    
# Line 35  namespace LinuxSampler { Line 36  namespace LinuxSampler {
36    
37      // just symbol prototyping      // just symbol prototyping
38      class MidiInputDevice;      class MidiInputDevice;
39        class EngineChannel;
40    
41      class MidiInputPort {      class MidiInputPort {
42          public:          public:
# Line 42  namespace LinuxSampler { Line 44  namespace LinuxSampler {
44              /////////////////////////////////////////////////////////////////              /////////////////////////////////////////////////////////////////
45              // type definitions              // type definitions
46    
             /**  
              * MIDI channels  
              */  
             enum midi_chan_t {  
                 midi_chan_1   = 0,  
                 midi_chan_2   = 1,  
                 midi_chan_3   = 2,  
                 midi_chan_4   = 3,  
                 midi_chan_5   = 4,  
                 midi_chan_6   = 5,  
                 midi_chan_7   = 6,  
                 midi_chan_8   = 7,  
                 midi_chan_9   = 8,  
                 midi_chan_10  = 9,  
                 midi_chan_11  = 10,  
                 midi_chan_12  = 11,  
                 midi_chan_13  = 12,  
                 midi_chan_14  = 13,  
                 midi_chan_15  = 14,  
                 midi_chan_16  = 15,  
                 midi_chan_all = 16  
             };  
   
47              /** MIDI Port Parameter 'NAME'              /** MIDI Port Parameter 'NAME'
48               *               *
49               * Used to assign an arbitrary name to the MIDI port.               * Used to assign an arbitrary name to the MIDI port.
# Line 234  namespace LinuxSampler { Line 213  namespace LinuxSampler {
213              virtual ~MidiInputPort();              virtual ~MidiInputPort();
214    
215              friend class MidiInputDevice;              friend class MidiInputDevice;
216                
217          private:          private:
218              EngineChannel* pPreviousProgramChangeEngineChannel; ///< Points to the engine channel which was connected by the previous DispatchProgramChange() call.              EngineChannel* pPreviousProgramChangeEngineChannel; ///< Points to the engine channel which was connected by the previous DispatchProgramChange() call.
219      };      };

Legend:
Removed from v.674  
changed lines
  Added in v.675

  ViewVC Help
Powered by ViewVC