From 2e7ffd891d3525be925b2e8dd33c57690c6e2784 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Tue, 14 Dec 2010 12:02:47 +0000 Subject: - now using outlet to pass OSC messages to plugin GUI instead of using liblo. i.e. it expects something like the mrpeach OSC externals to be connected - now using inlet to receive messages from plugin GUI (see above) svn path=/trunk/externals/postlude/; revision=14635 --- pluginhost~/src/pluginhost~.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'pluginhost~/src/pluginhost~.h') diff --git a/pluginhost~/src/pluginhost~.h b/pluginhost~/src/pluginhost~.h index f22239d..8ef8326 100644 --- a/pluginhost~/src/pluginhost~.h +++ b/pluginhost~/src/pluginhost~.h @@ -40,20 +40,23 @@ #define DX7_VOICE_SIZE_PACKED 128 /*From hexter_types.h by Sean Bolton */ #define DX7_DUMP_SIZE_BULK 4096+8 +#define DX7_BANK_SIZE 32 #define VERSION 0.99 #define MY_NAME "pluginhost~" #define EVENT_BUFSIZE 1024 #define OSC_BASE_MAX 1024 -#define TYPE_STRING_SIZE 20 +#define OSC_ADDR_MAX 8192 +#define OSC_PORT 9998 #define DIR_STRING_SIZE 1024 #define DEBUG_STRING_SIZE 1024 +#define TYPE_STRING_SIZE 20 #define UI_TARGET_ELEMS 2 -#define ASCII_n 110 +#define ASCII_t 116 #define ASCII_p 112 +#define ASCII_n 110 #define ASCII_c 99 #define ASCII_b 98 -#define ASCII_t 116 #define ASCII_a 97 #define LOADGUI 0 /* FIX: deprecate this */ @@ -145,6 +148,7 @@ typedef struct _ph { float *plugin_control_input; float *plugin_control_output; + unsigned int osc_port; unsigned int n_instances; unsigned int plugin_ins; unsigned int plugin_outs; -- cgit v1.2.1