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(); |
64 |
catch(...) { /* NOOP */ } |
catch(...) { /* NOOP */ } |
65 |
} |
} |
66 |
|
|
67 |
|
MidiInputDevice::type_t MidiInputDevice::Type() { |
68 |
|
return MidiInputType; |
69 |
|
} |
70 |
|
|
71 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |