Struct vst2::api::SysExEvent
[−]
[src]
#[repr(C)]pub struct SysExEvent { pub event_type: EventType, pub byte_size: i32, pub delta_frames: i32, pub _flags: i32, pub data_size: i32, pub _reserved1: isize, pub system_data: *mut u8, pub _reserved2: isize, }
A midi system exclusive event.
This event only contains raw byte data, and is up to the plugin to interpret it correctly.
plugin::CanDo
has a ReceiveSysExEvent
variant which lets the host query the plugin as to
whether this event is supported.
Fields
event_type: EventType
Should be EventType::SysEx
.
byte_size: i32
Size of this structure; mem::sizeof::<SysExEvent>()
.
delta_frames: i32
Number of samples into the current processing block that this event occurs on.
E.g. if the block size is 512 and this value is 123, the event will occur on sample
samples[123]
.
_flags: i32
Generic flags, none defined in VST api yet.
data_size: i32
Size of payload in bytes.
_reserved1: isize
Reserved for future use. Should be 0.
system_data: *mut u8
Pointer to payload.
_reserved2: isize
Reserved for future use. Should be 0.