DISTRHO Plugin Framework
Public Attributes | Static Public Attributes | List of all members
MidiEvent Struct Reference

#include <DistrhoDetails.hpp>

Public Attributes

uint32_t frame
 
uint32_t size
 
uint8_t data [kDataSize]
 
const uint8_t * dataExt
 

Static Public Attributes

static constexpr const uint32_t kDataSize = 4
 

Detailed Description

MIDI event.

Member Data Documentation

◆ kDataSize

constexpr const uint32_t MidiEvent::kDataSize = 4
staticconstexpr

Size of internal data.

◆ frame

uint32_t MidiEvent::frame

Time offset in frames.

◆ size

uint32_t MidiEvent::size

Number of bytes used.

◆ data

uint8_t MidiEvent::data[kDataSize]

MIDI data.
If size > kDataSize, dataExt is used (otherwise null).

When dataExt is used, the event holder is responsible for keeping the pointer valid during the entirety of the run function.


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