/[svn]/linuxsampler/trunk/src/engines/common/Event.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/Event.h

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

revision 56 by schoenebeck, Tue Apr 27 09:21:58 2004 UTC revision 244 by schoenebeck, Fri Sep 17 01:01:11 2004 UTC
# Line 71  namespace LinuxSampler { Line 71  namespace LinuxSampler {
71                  type_note_off,                  type_note_off,
72                  type_pitchbend,                  type_pitchbend,
73                  type_control_change,                  type_control_change,
74                    type_sysex,           ///< MIDI system exclusive message
75                  type_cancel_release,  ///< transformed either from a note-on or sustain-pedal-down event                  type_cancel_release,  ///< transformed either from a note-on or sustain-pedal-down event
76                  type_release          ///< transformed either from a note-off or sustain-pedal-up event                  type_release          ///< transformed either from a note-off or sustain-pedal-up event
77              } Type;              } Type;
# Line 89  namespace LinuxSampler { Line 90  namespace LinuxSampler {
90                  uint8_t Velocity;     ///< Trigger or release velocity for note-on or note-off events.                  uint8_t Velocity;     ///< Trigger or release velocity for note-on or note-off events.
91                  uint8_t Value;        ///< Value for control change events.                  uint8_t Value;        ///< Value for control change events.
92              };              };
93              int16_t Pitch;            ///< Pitch value for pitchbend events.              union {
94                    int16_t Pitch;        ///< Pitch value for pitchbend events.
95                    uint    Size;         ///< Data length (in bytes) for MIDI system exclusive messages.
96                };
97    
98              inline uint FragmentPos() {              inline uint FragmentPos() {
99                  if (iFragmentPos >= 0) return (uint) iFragmentPos;                  if (iFragmentPos >= 0) return (uint) iFragmentPos;

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

  ViewVC Help
Powered by ViewVC