clap

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

commit 05b3518b1d90184a940848835bccafa93481ca6d
parent 2b7326c8a7104e7826b1deca985b424e6f1c511f
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Thu, 24 Mar 2016 21:23:37 +0100

Bunch of fixes

Diffstat:
Minclude/clap/clap.h | 2+-
Minclude/clap/ext/embed-win32.h | 4+++-
Minclude/clap/ext/embed-x11.h | 4+++-
Mtests/midi-parser/midi-parser.c | 2+-
Mtools/clap-alsa-host/clap-alsa-host.c | 2+-
Mtools/clap-info/clap-info.c | 1-
Mtools/clap-jack-host/clap-jack-host.c | 2+-
7 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/include/clap/clap.h b/include/clap/clap.h @@ -183,7 +183,7 @@ struct clap_event { struct clap_event *next; // linked list, NULL on end enum clap_event_type type; - int64_t steady_time; // steady_time of the event, see host->steady_time(host) + int64_t time; // offset from the first sample in the process block union { struct clap_event_note note; diff --git a/include/clap/ext/embed-win32.h b/include/clap/ext/embed-win32.h @@ -10,7 +10,9 @@ struct clap_plugin_embed_win32 { - void (*get_size)(int32_t *width, int32_t *height); + void (*get_size)(struct clap_plugin *plugin, + int32_t *width, + int32_t *height); bool (*attach)(struct clap_plugin *plugin, HWND window); bool (*detach)(struct clap_plugin *plugin); }; diff --git a/include/clap/ext/embed-x11.h b/include/clap/ext/embed-x11.h @@ -8,7 +8,9 @@ struct clap_plugin_embed_x11 { - void (*get_size)(int32_t *width, int32_t *height); + void (*get_size)(struct clap_plugin *plugin, + int32_t *width, + int32_t *height); /* Note for the client, you can get a Display* by calling * XOpenDisplay(display_name). diff --git a/tests/midi-parser/midi-parser.c b/tests/midi-parser/midi-parser.c @@ -5,7 +5,7 @@ #include <stdio.h> #include <fcntl.h> -#include <clap/midi/parser.h> +#include <clap/helpers/midi-parser.h> void usage(const char *prog) { diff --git a/tools/clap-alsa-host/clap-alsa-host.c b/tools/clap-alsa-host/clap-alsa-host.c @@ -9,7 +9,7 @@ #include <signal.h> #include <clap/clap.h> -#include <clap/midi/parser.h> +#include <clap/helpers/midi-parser.h> #include <clap/ext/gui.h> #include <clap/ext/state.h> diff --git a/tools/clap-info/clap-info.c b/tools/clap-info/clap-info.c @@ -49,7 +49,6 @@ static void print_attr(struct clap_plugin *plugin) prt_attr(CATEGORIES); prt_attr(TYPE); prt_attr(CHUNK_SIZE); - prt_attr(LATENCY); prt_attr(SUPPORTS_TUNING); prt_attr(SUPPORTS_IN_PLACE_PROCESSING); prt_attr(IS_REMOTE_PROCESSING); diff --git a/tools/clap-jack-host/clap-jack-host.c b/tools/clap-jack-host/clap-jack-host.c @@ -9,7 +9,7 @@ #include <signal.h> #include <clap/clap.h> -#include <clap/midi/parser.h> +#include <clap/helpers/midi-parser.h> #include <clap/ext/gui.h> #include <clap/ext/state.h>