LV2_MIDI | Helper functions

LV2_MIDIState Struct Reference

This structure contains information about a MIDI port buffer, the current period size, and the position in the MIDI data buffer that we are currently reading from or writing to. More...

#include <lv2-midifunctions.h>


Data Fields

LV2_MIDImidi
 The MIDI port structure that we want to read or write.
uint32_t frame_count
 The number of frames in this process cycle.
uint32_t position
 The current position in the data buffer.


Detailed Description

This structure contains information about a MIDI port buffer, the current period size, and the position in the MIDI data buffer that we are currently reading from or writing to.

It needs to be recreated or at least reinitialised every process() call.


Field Documentation

LV2_MIDI* LV2_MIDIState::midi

The MIDI port structure that we want to read or write.

uint32_t LV2_MIDIState::frame_count

The number of frames in this process cycle.

uint32_t LV2_MIDIState::position

The current position in the data buffer.

Should be initialised to 0.


The documentation for this struct was generated from the following file:
Generated on Thu Feb 8 12:45:15 2007 by  doxygen 1.5.1