api callbacks for sending messages

This commit is contained in:
Paolo 2025-06-04 11:51:15 +02:00
parent 269b9b606f
commit f5097b14cb

View File

@ -26,6 +26,9 @@ typedef struct {
const char * format; const char * format;
const char * (*get_bindir)(void *handle); const char * (*get_bindir)(void *handle);
const char * (*get_datadir)(void *handle); const char * (*get_datadir)(void *handle);
{{?it.product.messaging}}
char (*send_to_ui)(void *handle, const void *data, size_t bytes);
{{?}}
} plugin_callbacks; } plugin_callbacks;
{{?it.product.state && it.product.state.dspCustom}} {{?it.product.state && it.product.state.dspCustom}}
@ -50,6 +53,9 @@ typedef struct {
void (*set_parameter)(void *handle, size_t index, float value); void (*set_parameter)(void *handle, size_t index, float value);
void (*set_parameter_end)(void *handle, size_t index, float value); void (*set_parameter_end)(void *handle, size_t index, float value);
{{?}} {{?}}
{{?it.product.messaging}}
char (*send_to_dsp)(void *handle, const void *data, size_t bytes);
{{?}}
} plugin_ui_callbacks; } plugin_ui_callbacks;
{{?it.product.parameters.length > 0}} {{?it.product.parameters.length > 0}}