aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2007-02-15 23:09:35 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2007-02-15 23:09:35 +0000
commitaf3619555f5c60450da97c74ec3c1f9c14f3133d (patch)
tree3292f316f07e7d02530179a13ab3b20696bb6d04
parent962a083ba216dff74c4216391436c56e674f8c3d (diff)
Added handler for T, F, I, and N OSC types
svn path=/trunk/externals/mrpeach/; revision=7438
-rwxr-xr-xosc/unpackOSC.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/osc/unpackOSC.c b/osc/unpackOSC.c
index acdec07..191414b 100755
--- a/osc/unpackOSC.c
+++ b/osc/unpackOSC.c
@@ -444,16 +444,19 @@ static void unpackOSC_PrintTypeTaggedArgs(t_unpackOSC *x, void *v, int n)
#ifdef DEBUG
printf("[Nil]");
#endif
- post("sendOSC: [Nil] not implemented");
+ SETFLOAT(mya+myargc,0.);
+ myargc++;
break;
case 'I':
#ifdef DEBUG
printf("[Infinitum]");
#endif
- post("sendOSC: [Infinitum] not implemented");
+ SETSYMBOL(mya+myargc,gensym("INF"));
+ myargc++;
break;
default:
- post("sendOSC: [Unrecognized type tag %c]", *thisType);
+ post("unpackOSC: [Unrecognized type tag %c]", *thisType);
+ myargc++;
}
}
x->x_data_atc = myargc;