LV2 Toolkit  1.2.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
WriteMIDI< Required >::I< Derived > Struct Template Reference
Collaboration diagram for WriteMIDI< Required >::I< Derived >:
Collaboration graph
[legend]

Public Member Functions

bool check_ok ()
 

Protected Member Functions

bool write_midi (uint32_t port, uint32_t size, const uint8_t *data)
 

Protected Attributes

uint32_t m_midi_type
 
uint32_t m_event_buffer_format
 
LV2_Event_Buffer * m_buffer
 

Member Function Documentation

bool write_midi ( uint32_t  port,
uint32_t  size,
const uint8_t *  data 
)
inlineprotected

This function can be used to write a MIDI event to an event input port in the plugin.

Parameters
portThe port index.
sizeThe number of bytes in the MIDI event.
dataThe MIDI data for the event. This should point to an array of size bytes.
Returns
true if the event could be written to the plugin port, false if it couldn't (for example if the host doesn't support MIDI events).

The documentation for this struct was generated from the following file: