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

Diff of /linuxsampler/trunk/src/mididriver/MidiInputDevice.cpp

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

revision 56 by schoenebeck, Tue Apr 27 09:21:58 2004 UTC revision 64 by schoenebeck, Thu May 6 20:06:20 2004 UTC
# Line 24  Line 24 
24    
25  namespace LinuxSampler {  namespace LinuxSampler {
26    
27        MidiInputDevice::MidiInputDevice(type_t Type) {
28            MidiInputType = Type;
29        }
30    
31      void MidiInputDevice::DispatchNoteOn(uint8_t Key, uint8_t Velocity, uint MidiChannel) {      void MidiInputDevice::DispatchNoteOn(uint8_t Key, uint8_t Velocity, uint MidiChannel) {
32          std::set<Engine*>::iterator engineiter = MidiChannelMap[MidiChannel].begin();          std::set<Engine*>::iterator engineiter = MidiChannelMap[MidiChannel].begin();
33          std::set<Engine*>::iterator end        = MidiChannelMap[MidiChannel].end();          std::set<Engine*>::iterator end        = MidiChannelMap[MidiChannel].end();
# Line 60  namespace LinuxSampler { Line 64  namespace LinuxSampler {
64          catch(...) { /* NOOP */ }          catch(...) { /* NOOP */ }
65      }      }
66    
67        MidiInputDevice::type_t MidiInputDevice::Type() {
68            return MidiInputType;
69        }
70    
71  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.56  
changed lines
  Added in v.64

  ViewVC Help
Powered by ViewVC