clap

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

commit 23fae3585a996e8692566ea948f8283e09fc3824
parent 9cd8bf0f17f1ebc2d19cc769f667c2ea77cc01ad
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 17 Oct 2016 10:30:43 +0200

More docs

Diffstat:
Minclude/clap/ext/event-ports.h | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/include/clap/ext/event-ports.h b/include/clap/ext/event-ports.h @@ -5,8 +5,18 @@ # define CLAP_EXT_EVENT_PORTS "clap/event-ports" +# define CLAP_MAIN_EVENT_PORT_ID 0 + struct clap_audio_port_info { + /* This number uniquely identify the port. + * There are two id space, one for the input event ports, + * and one for the output event ports. + * Valid ids are greater than 0. + * Every clap plugins always have one input event port and + * one output event port, their id is 0 (CLAP_MAIN_EVENT_PORT_ID). + * + * So one plugin only need this extension for additional ports. */ int32_t id; bool is_input; char name[CLAP_NAME_SIZE];