diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2007-02-15 23:09:35 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2007-02-15 23:09:35 +0000 |
commit | af3619555f5c60450da97c74ec3c1f9c14f3133d (patch) | |
tree | 3292f316f07e7d02530179a13ab3b20696bb6d04 | |
parent | 962a083ba216dff74c4216391436c56e674f8c3d (diff) |
Added handler for T, F, I, and N OSC types
svn path=/trunk/externals/mrpeach/; revision=7438
-rwxr-xr-x | osc/unpackOSC.c | 9 |
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; |