Update of /cvsroot/pure-data/externals/OSCx/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1113
Modified Files: sendOSC.c Log Message: applied patch [ 1446663 ] in order to use typed list-elements instead of reparsing the send-string (up till now the list to send was converted to a string and this string was then converted into an OSC-message; this prevented us from sending of a symbol "12" (instead it became a float 12)
Index: sendOSC.c =================================================================== RCS file: /cvsroot/pure-data/externals/OSCx/src/sendOSC.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sendOSC.c 30 Aug 2005 20:54:05 -0000 1.5 --- sendOSC.c 12 Apr 2006 14:21:34 -0000 1.6 *************** *** 44,47 **** --- 44,48 ---- -- ost_at_test.at + i22_at_test.at, 2000-2002 modified to compile as pd externel + --20060308 MP clear out some unused code and improve conversion from pd types to OSC types */
*************** *** 60,72 ****
#include <string.h> [...1089 lines suppressed...] - } - } - - if (!SynthControl_willMessageFit(buf, size)) { - send_complain("Message "%s" won't fit in buffer: dropping.", messageName); - return; - } - #endif --- 544,554 ---- }
! void SendData(void *htmsocket, int size, char *data) ! { ! if (!SendHTMSocket(htmsocket, size, data)) ! { post("SendData::SendHTMSocket()failure -- not connected"); CloseHTMSocket(htmsocket); } }