aboutsummaryrefslogtreecommitdiff
path: root/pluginhost~/src/pluginhost~.h
diff options
context:
space:
mode:
authorJamie Bullock <postlude@users.sourceforge.net>2010-12-14 12:02:47 +0000
committerJamie Bullock <postlude@users.sourceforge.net>2010-12-14 12:02:47 +0000
commit2e7ffd891d3525be925b2e8dd33c57690c6e2784 (patch)
tree3ca7c85cc2bc9d78ec5681768bc58af57630fe5a /pluginhost~/src/pluginhost~.h
parent9220cce1627a9f37801a50ba0e5a351e6b7900b6 (diff)
- 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
Diffstat (limited to 'pluginhost~/src/pluginhost~.h')
-rw-r--r--pluginhost~/src/pluginhost~.h10
1 files changed, 7 insertions, 3 deletions
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;