clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 7125ccaf1edf92fe42eb9c031659dc519226eb63
parent 409f4180bdc81f7287d023147c5bfd079b92ed19
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Sat, 18 Dec 2021 21:13:21 +0100

fix compilation

Diffstat:
Minclude/clap/all.h | 3+--
Minclude/clap/converters/vst2-converter.h | 26+++++++++++++-------------
Minclude/clap/converters/vst3-converter.h | 26+++++++++++++-------------
Minclude/clap/entry.h | 2+-
4 files changed, 28 insertions(+), 29 deletions(-)

diff --git a/include/clap/all.h b/include/clap/all.h @@ -30,4 +30,4 @@ #include "ext/draft/midi-mappings.h" #include "converters/vst2-converter.h" -#include "converters/vst3-converter.h" -\ No newline at end of file +#include "converters/vst3-converter.h" diff --git a/include/clap/converters/vst2-converter.h b/include/clap/converters/vst2-converter.h @@ -14,27 +14,27 @@ typedef struct clap_vst2_converter { const char *clap_plugin_id; // [main-thread] - bool (*convert_state)(const struct *clap_vst2_converter *converter, - const clap_istream *vst2, - const clap_ostream *clap); + bool (*convert_state)(const struct clap_vst2_converter *converter, + const clap_istream *vst2, + const clap_ostream *clap); // converts the vst2 param id and normalized value to clap param id and // plain value. // [thread-safe] - bool (*convert_normalized_value)(const struct *clap_vst2_converter *converter, - uint32_t vst2_param_id, - double vst2_normalized_value, - clap_id *clap_param_id, - double *clap_plain_value); + bool (*convert_normalized_value)(const struct clap_vst2_converter *converter, + uint32_t vst2_param_id, + double vst2_normalized_value, + clap_id *clap_param_id, + double *clap_plain_value); // converts the vst2 param id and plain value to clap param id and // plain value. // [thread-safe] - bool (*convert_plain_value)(const struct *clap_vst2_converter *converter, - uint32_t vst2_param_id, - double vst2_plain_value, - clap_id *clap_param_id, - double *clap_plain_value); + bool (*convert_plain_value)(const struct clap_vst2_converter *converter, + uint32_t vst2_param_id, + double vst2_plain_value, + clap_id *clap_param_id, + double *clap_plain_value); } clap_vst2_converter; // Factory identifier diff --git a/include/clap/converters/vst3-converter.h b/include/clap/converters/vst3-converter.h @@ -13,27 +13,27 @@ typedef struct clap_vst3_converter { const char *clap_plugin_id; // [main-thread] - bool (*convert_state)(const struct *clap_vst3_converter *converter, - const clap_istream *vst3, - const clap_ostream *clap); + bool (*convert_state)(const struct clap_vst3_converter *converter, + const clap_istream *vst3, + const clap_ostream *clap); // converts the vst3 param id and normalized value to clap param id and // plain value. // [thread-safe] - bool (*convert_normalized_value)(const struct *clap_vst3_converter *converter, - uint32_t vst3_param_id, - double vst3_normalized_value, - clap_id *clap_param_id, - double *clap_plain_value); + bool (*convert_normalized_value)(const struct clap_vst3_converter *converter, + uint32_t vst3_param_id, + double vst3_normalized_value, + clap_id *clap_param_id, + double *clap_plain_value); // converts the vst3 param id and plain value to clap param id and // plain value. // [thread-safe] - bool (*convert_plain_value)(const struct *clap_vst3_converter *converter, - uint32_t vst3_param_id, - double vst3_plain_value, - clap_id *clap_param_id, - double *clap_plain_value); + bool (*convert_plain_value)(const struct clap_vst3_converter *converter, + uint32_t vst3_param_id, + double vst3_plain_value, + clap_id *clap_param_id, + double *clap_plain_value); } clap_vst3_converter; // Factory identifier diff --git a/include/clap/entry.h b/include/clap/entry.h @@ -17,7 +17,7 @@ typedef struct clap_plugin_entry { } clap_plugin_entry; /* Entry point */ -CLAP_EXPORT extern const struct clap_plugin_entry clap_plugin_entry; +CLAP_EXPORT extern const clap_plugin_entry clap_plugin_entry; #ifdef __cplusplus }