#include <jack/types.h>
#include <stdlib.h>
Go to the source code of this file.
|
Type for raw event data contained in jack_midi_event_t. |
|
|
|
|
|
Clear an event buffer. This should be called at the beginning of each process cycle before calling jack_midi_event_reserve or jack_midi_event_write. This function may not be called on an input port's buffer.
|
|
Get a MIDI event from an event port buffer. The MIDI event returned is guaranteed to be a complete MIDI event (i.e. clients do not have to deal with running status as the status byte of the event will always be present).
|
|
Allocate space for an event to be written to an event port buffer. Clients are to write the actual event data to be written starting at the pointer returned by this function. Clients must not write more than data_size bytes into this buffer.
|
|
Write an event into an event port buffer. This function is simply a wrapper for jack_midi_event_reserve which writes the event data into the space reserved in the buffer.
|
|
Get the number of events that could not be written to port_buffer. This function returning a non-zero value implies port_buffer is full. Currently the only way this can happen is if events are lost on port mixdown.
|
|
return the last status byte in the stream before event n |
|
|
|
Initialise the port state. This must be used after port_buffer is allocated |