Enum UnknownChannelEventPolicy
Specifies how reading engine should react on unknown channel event. The default is
Abort.
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public enum UnknownChannelEventPolicy
Fields
Name | Description |
---|---|
Abort | Abort reading and throw an UnknownChannelEventException. |
SkipStatusByte | Skip only invalid status byte and start next MIDI event reading. |
SkipStatusByteAndOneDataByte | Skip invalid status byte and one data byte, and start next MIDI event reading. |
SkipStatusByteAndTwoDataBytes | Skip invalid status byte and two data bytes, and start next MIDI event reading. |
UseCallback | Use callback to manually decide how reading engine should handle invalid unknown channel event. |