diff options
author | Jamie Bullock <postlude@users.sourceforge.net> | 2011-09-07 11:49:06 +0000 |
---|---|---|
committer | Jamie Bullock <postlude@users.sourceforge.net> | 2011-09-07 11:49:06 +0000 |
commit | 4d30c976137b2bc4385990006d59b345f6640242 (patch) | |
tree | 0260996d4d77ef61ae249acae88fb13961189dfa /pluginhost~/src/ph_common.h | |
parent | b78ff2c5781fec8e1dc85fcc27ee26f5183d0488 (diff) |
- 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
Diffstat (limited to 'pluginhost~/src/ph_common.h')
-rw-r--r-- | pluginhost~/src/ph_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdbool.h> +#include <stdint.h> #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; |