[fluxus] 0.8, tiny thing

CK chris at lo-res.org
Thu Dec 8 08:39:32 PST 2005


hi,

to make osc work for me (debian/ppc, liblo-0.22) I needed to change:

--- snip
$ diff -u fluxus-0.8/src/FluxusBinding.cpp fluxus-0.8-p1/src/FluxusBinding.cpp 
--- fluxus-0.8/src/FluxusBinding.cpp    2005-11-30 11:13:53.000000000 +0100
+++ fluxus-0.8-p1/src/FluxusBinding.cpp 2005-12-08 17:34:02.000000000 +0100
@@ -1240,7 +1240,7 @@
        unsigned int index=(unsigned int)gh_scm2double(s_index);
        char type = Fluxus->TypeFromOSC(index);
        SCM ret;
-       if (type=='n') ret=gh_double2scm(Fluxus->NumberFromOSC(index));
+       if (type=='f' || type=='i') ret=gh_double2scm(Fluxus->NumberFromOSC(index));
        else if (type=='s') 
        {
                string value=Fluxus->StringFromOSC(index);
---snap

otherwise all numbers would end up of "unspecified type" so pretty useless,

regards,

x

-- 
chris at lo-res.org	Postmodernism is german romanticism with better
http://pilot.fm/	special effects. (Jeff Keuss / via ctheory.com)



More information about the Fluxus mailing list