Package dev.atsushieno.panama.libremidi
package dev.atsushieno.panama.libremidi
-
ClassDescription
struct libremidi_api_configuration { enum libremidi_api api; enum { Observer, Input, Output } configuration_type; void *data; }
struct libremidi_midi_configuration { enum { MIDI1 = (1 << 1), MIDI1_RAW = (1 << 2), MIDI2 = (1 << 3), MIDI2_RAW = (1 << 4) } version; union in_or_out_port { libremidi_midi_in_port *in_port; libremidi_midi_out_port *out_port; } in_or_out_port; union on_midi_1_or_2_callback { libremidi_midi1_callback on_midi1_message; libremidi_midi1_callback on_midi1_raw_data; libremidi_midi2_callback on_midi2_message; libremidi_midi2_callback on_midi2_raw_data; } on_midi_1_or_2_callback; struct get_timestamp { void *context; libremidi_timestamp (*callback)(void *, libremidi_timestamp); } get_timestamp; struct libremidi_midi_configuration_on_error { void *context; void (*callback)(void *, const char *, size_t, const void *); } on_error; struct libremidi_midi_configuration_on_warning { void *context; void (*callback)(void *, const char *, size_t, const void *); } on_warning; const char *port_name; bool virtual_port; bool ignore_sysex; bool ignore_timing; bool ignore_sensing; enum libremidi_timestamp_mode timestamps; }
struct get_timestamp { void *context; libremidi_timestamp (*callback)(void *, libremidi_timestamp); }
libremidi_timestamp (*callback)(void *, libremidi_timestamp)
The function pointer signature, expressed as a functional interfaceunion in_or_out_port { libremidi_midi_in_port *in_port; libremidi_midi_out_port *out_port; }
struct libremidi_midi_configuration_on_error { void *context; void (*callback)(void *, const char *, size_t, const void *); }
void (*callback)(void *, const char *, size_t, const void *)
The function pointer signature, expressed as a functional interfacestruct libremidi_midi_configuration_on_warning { void *context; void (*callback)(void *, const char *, size_t, const void *); }
void (*callback)(void *, const char *, size_t, const void *)
The function pointer signature, expressed as a functional interfaceunion on_midi_1_or_2_callback { libremidi_midi1_callback on_midi1_message; libremidi_midi1_callback on_midi1_raw_data; libremidi_midi2_callback on_midi2_message; libremidi_midi2_callback on_midi2_raw_data; }
void (*)(void *, const libremidi_midi_in_port *)
The function pointer signature, expressed as a functional interfacevoid (*)(void *, const libremidi_midi_out_port *)
The function pointer signature, expressed as a functional interfacevoid (*)(void *, libremidi_api)
The function pointer signature, expressed as a functional interfacestruct libremidi_midi1_callback { void *context; void (*callback)(void *, libremidi_timestamp, const libremidi_midi1_symbol *, size_t); }
void (*callback)(void *, libremidi_timestamp, const libremidi_midi1_symbol *, size_t)
The function pointer signature, expressed as a functional interfacevoid (*)(void *, libremidi_api)
The function pointer signature, expressed as a functional interfacestruct libremidi_midi2_callback { void *context; void (*callback)(void *, libremidi_timestamp, const libremidi_midi2_symbol *, size_t); }
void (*callback)(void *, libremidi_timestamp, const libremidi_midi2_symbol *, size_t)
The function pointer signature, expressed as a functional interfacestruct libremidi_observer_configuration { struct libremidi_observer_configuration_on_error { void *context; void (*callback)(void *, const char *, size_t, const void *); } on_error; struct libremidi_observer_configuration_on_warning { void *context; void (*callback)(void *, const char *, size_t, const void *); } on_warning; struct libremidi_observer_configuration_input_added { void *context; void (*callback)(void *, const libremidi_midi_in_port *); } input_added; struct libremidi_observer_configuration_input_removed { void *context; void (*callback)(void *, const libremidi_midi_in_port *); } input_removed; struct libremidi_observer_configuration_output_added { void *context; void (*callback)(void *, const libremidi_midi_out_port *); } output_added; struct libremidi_observer_configuration_output_removed { void *context; void (*callback)(void *, const libremidi_midi_out_port *); } output_removed; bool track_hardware; bool track_virtual; bool track_any; bool notify_in_constructor; }
struct libremidi_observer_configuration_input_added { void *context; void (*callback)(void *, const libremidi_midi_in_port *); }
void (*callback)(void *, const libremidi_midi_in_port *)
The function pointer signature, expressed as a functional interfacestruct libremidi_observer_configuration_input_removed { void *context; void (*callback)(void *, const libremidi_midi_in_port *); }
void (*callback)(void *, const libremidi_midi_in_port *)
The function pointer signature, expressed as a functional interfacestruct libremidi_observer_configuration_on_error { void *context; void (*callback)(void *, const char *, size_t, const void *); }
void (*callback)(void *, const char *, size_t, const void *)
The function pointer signature, expressed as a functional interfacestruct libremidi_observer_configuration_on_warning { void *context; void (*callback)(void *, const char *, size_t, const void *); }
void (*callback)(void *, const char *, size_t, const void *)
The function pointer signature, expressed as a functional interfacestruct libremidi_observer_configuration_output_added { void *context; void (*callback)(void *, const libremidi_midi_out_port *); }
void (*callback)(void *, const libremidi_midi_out_port *)
The function pointer signature, expressed as a functional interfacestruct libremidi_observer_configuration_output_removed { void *context; void (*callback)(void *, const libremidi_midi_out_port *); }
void (*callback)(void *, const libremidi_midi_out_port *)
The function pointer signature, expressed as a functional interface