diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2008-06-13 13:28:08 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:08:23 +0200 |
commit | 124ec02a0b4114bb52bcb8c44c4d76de737f6e6c (patch) | |
tree | 5837b9a3696dab0062d502d516cb00576fb2ad8d /dmx512/src/dmxout.c | |
parent | 4fd2d8a51cea2577f985148583539d0f7727da63 (diff) |
probably got the svnversion magic going
svn path=/trunk/externals/iem/dmx512/; revision=9992
Diffstat (limited to 'dmx512/src/dmxout.c')
-rw-r--r-- | dmx512/src/dmxout.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dmx512/src/dmxout.c b/dmx512/src/dmxout.c index af812b9..b9066cb 100644 --- a/dmx512/src/dmxout.c +++ b/dmx512/src/dmxout.c @@ -64,7 +64,7 @@ static void dmxout_close(t_dmxout*x) static void dmxout_open(t_dmxout*x, t_symbol*s_devname) { int argc=2; - char *args[2] = {"--dmx", s_devname->s_name}; + const char *args[2] = {"--dmx", s_devname->s_name}; const char**argv=args; char*devname=""; int fd; @@ -138,7 +138,7 @@ static void *dmxout_new(t_symbol*s, int argc, t_atom*argv) static void *dmxout_free(t_dmxout*x) { - + dmxout_close(x); } @@ -151,6 +151,7 @@ void dmxout_setup(void) class_addfloat(dmxout_class, dmxout_float); - - post("DMX4PD (ver.%s): (c) 2008 IOhannes m zmölnig - iem @ kug", DMX4PD_VERSION); +#ifdef DMX4PD_POSTBANNER + DMX4PD_POSTBANNER +#endif } |