jack.c.midiport

Undocumented in source.

Public Imports

jack.c.systemdeps
public import jack.c.systemdeps;
Undocumented in source.
jack.c.types
public import jack.c.types;
Undocumented in source.

Members

Aliases

jack_midi_data_t
alias jack_midi_data_t = ubyte

Type for raw event data contained in @ref jack_midi_event_t.

Functions

jack_midi_clear_buffer
void jack_midi_clear_buffer(void* port_buffer)

Clear an event buffer.

jack_midi_event_get
int jack_midi_event_get(jack_midi_event_t* event, void* port_buffer, uint32_t event_index)

Get a MIDI event from an event port buffer.

jack_midi_event_reserve
jack_midi_data_t* jack_midi_event_reserve(void* port_buffer, jack_nframes_t time, size_t data_size)

Allocate space for an event to be written to an event port buffer.

jack_midi_event_write
int jack_midi_event_write(void* port_buffer, jack_nframes_t time, const(jack_midi_data_t)* data, size_t data_size)

Write an event into an event port buffer.

jack_midi_get_event_count
uint32_t jack_midi_get_event_count(void* port_buffer)

Get number of events in a port buffer.

jack_midi_get_lost_event_count
uint32_t jack_midi_get_lost_event_count(void* port_buffer)

Get the number of events that could not be written to @a port_buffer.

jack_midi_max_event_size
size_t jack_midi_max_event_size(void* port_buffer)

Get the size of the largest event that can be stored by the port.

Structs

jack_midi_event_t
struct jack_midi_event_t

A Jack MIDI event.

Meta