JUCE API reference
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
juce::VSTMidiEventList Class Reference

Holds a set of VSTMidiEvent objects and makes it easy to add events to the list. More...

Public Member Functions

 VSTMidiEventList ()
 
 ~VSTMidiEventList ()
 
void clear ()
 
void addEvent (const void *const midiData, int numBytes, int frameOffset)
 
void ensureSize (int numEventsNeeded)
 
void freeEvents ()
 

Static Public Member Functions

static void addEventsToMidiBuffer (const Vst2::VstEvents *events, MidiBuffer &dest)
 

Public Attributes

HeapBlock< Vst2::VstEvents > events
 

Detailed Description

Holds a set of VSTMidiEvent objects and makes it easy to add events to the list.

This is used by both the VST hosting code and the plugin wrapper.

Constructor & Destructor Documentation

◆ VSTMidiEventList()

juce::VSTMidiEventList::VSTMidiEventList ( )
inline

◆ ~VSTMidiEventList()

juce::VSTMidiEventList::~VSTMidiEventList ( )
inline

References freeEvents().

Member Function Documentation

◆ clear()

void juce::VSTMidiEventList::clear ( )
inline

References events.

◆ addEvent()

void juce::VSTMidiEventList::addEvent ( const void *const  midiData,
int  numBytes,
int  frameOffset 
)
inline

References ensureSize(), and events.

◆ addEventsToMidiBuffer()

static void juce::VSTMidiEventList::addEventsToMidiBuffer ( const Vst2::VstEvents *  events,
MidiBuffer &  dest 
)
inlinestatic

◆ ensureSize()

void juce::VSTMidiEventList::ensureSize ( int  numEventsNeeded)
inline

◆ freeEvents()

void juce::VSTMidiEventList::freeEvents ( )
inline

Member Data Documentation

◆ events

HeapBlock<Vst2::VstEvents> juce::VSTMidiEventList::events

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