diff options
author | Jamie Bullock <postlude@users.sourceforge.net> | 2010-12-08 10:35:48 +0000 |
---|---|---|
committer | Jamie Bullock <postlude@users.sourceforge.net> | 2010-12-08 10:35:48 +0000 |
commit | 6725c09391a8c14ce84f75e1951368a8cec8a633 (patch) | |
tree | 0d49838021e7b90d13a5112196612989319767d5 /pluginhost~/src/pluginhost~.h | |
parent | 7dbe531e201e79761b19870c278262f6826985b3 (diff) |
- refactored debug statement handling
svn path=/trunk/externals/postlude/; revision=14577
Diffstat (limited to 'pluginhost~/src/pluginhost~.h')
-rw-r--r-- | pluginhost~/src/pluginhost~.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pluginhost~/src/pluginhost~.h b/pluginhost~/src/pluginhost~.h index e154e90..ddf439c 100644 --- a/pluginhost~/src/pluginhost~.h +++ b/pluginhost~/src/pluginhost~.h @@ -43,10 +43,12 @@ #define VERSION 0.99 +#define MY_NAME "pluginhost~" #define EVENT_BUFSIZE 1024 #define OSC_BASE_MAX 1024 #define TYPE_STRING_SIZE 20 /* Max size of event type string (must be two more bytes than needed) */ #define DIR_STRING_SIZE 1024 /* Max size of directory string */ +#define DEBUG_STRING_SIZE 1024 #define ASCII_n 110 #define ASCII_p 112 #define ASCII_c 99 @@ -180,5 +182,6 @@ static int osc_message_handler(const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data); static LADSPA_Data get_port_default(t_ph_tilde *x, int port); static void MIDIbuf(int type, int chan, int param, int val, t_ph_tilde *x); +static void ph_debug_post(const char *fmt, ...); |