From 4d30c976137b2bc4385990006d59b345f6640242 Mon Sep 17 00:00:00 2001 From: Jamie Bullock Date: Wed, 7 Sep 2011 11:49:06 +0000 Subject: - fixed debug print crash - added a workaround for setting hexter pitch bend range, pressure sensitivity, mod wheel sensitivity, portamento time etc svn path=/trunk/externals/postlude/; revision=15289 --- pluginhost~/src/ph_common.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pluginhost~/src/ph_common.h') diff --git a/pluginhost~/src/ph_common.h b/pluginhost~/src/ph_common.h index de25e60..0e7be30 100644 --- a/pluginhost~/src/ph_common.h +++ b/pluginhost~/src/ph_common.h @@ -28,6 +28,7 @@ */ #include +#include #include "m_pd.h" #include "dssi.h" @@ -38,6 +39,9 @@ #define OSC_PORT 9998 #define UI_TARGET_ELEMS 2 +/*From hexter_types.h by Sean Bolton */ +#define DX7_PERFORMANCE_SIZE 64 + #define MIN(a,b) ((a)<(b)?(a):(b)) #ifndef HEADER_PH_COMMON @@ -61,6 +65,8 @@ typedef struct _ph_instance { int ui_hidden; int ui_show; t_atom ui_target[UI_TARGET_ELEMS]; /* host, port */ + uint8_t perf_buffer[DX7_PERFORMANCE_SIZE]; + int *plugin_port_ctlin_numbers; /*not sure if this should go here?*/ DSSI_Program_Descriptor *plugin_pgms; -- cgit v1.2.1