[PD-cvs] externals/mrpeach/osc unpackOSC.c,1.1,1.2

Martin Peach mrpeach at users.sourceforge.net
Fri Feb 16 00:09:37 CET 2007


Update of /cvsroot/pure-data/externals/mrpeach/osc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4340

Modified Files:
	unpackOSC.c 
Log Message:
Added handler for T, F, I, and N OSC types


Index: unpackOSC.c
===================================================================
RCS file: /cvsroot/pure-data/externals/mrpeach/osc/unpackOSC.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** unpackOSC.c	16 Aug 2006 20:22:22 -0000	1.1
--- unpackOSC.c	15 Feb 2007 23:09:35 -0000	1.2
***************
*** 445,449 ****
                  printf("[Nil]");
  #endif
!                 post("sendOSC: [Nil] not implemented");
                  break;
              case 'I':
--- 445,450 ----
                  printf("[Nil]");
  #endif
!                 SETFLOAT(mya+myargc,0.);
!                 myargc++;
                  break;
              case 'I':
***************
*** 451,458 ****
                  printf("[Infinitum]");
  #endif
!                 post("sendOSC: [Infinitum] not implemented");
                  break;
              default:
!                 post("sendOSC: [Unrecognized type tag %c]", *thisType);
           }
      }
--- 452,461 ----
                  printf("[Infinitum]");
  #endif
!                 SETSYMBOL(mya+myargc,gensym("INF"));
!                 myargc++;
                  break;
              default:
!                 post("unpackOSC: [Unrecognized type tag %c]", *thisType);
!                 myargc++;
           }
      }





More information about the Pd-cvs mailing list