Update of /cvsroot/pure-data/externals/grill/flext/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8733/source
Modified Files: flinternal.h fltimer.cpp Log Message: Max: use high-priority click instead of qelem for message-posting fixed flext::Timer::At method
Index: flinternal.h =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/flinternal.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** flinternal.h 28 Jan 2005 04:57:03 -0000 1.12 --- flinternal.h 11 Feb 2005 04:56:07 -0000 1.13 *************** *** 60,65 **** #define qelem_new clock_new #define qelem_free clock_free ! #define qelem_set clock_set ! #define qelem_front clock_set #define qelem_unset clock_unset
--- 60,65 ---- #define qelem_new clock_new #define qelem_free clock_free ! #define qelem_set clock_delay ! #define qelem_front clock_delay #define qelem_unset clock_unset
Index: fltimer.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/flext/source/fltimer.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** fltimer.cpp 26 Jan 2005 05:02:05 -0000 1.6 --- fltimer.cpp 11 Feb 2005 04:56:07 -0000 1.7 *************** *** 163,169 **** period = 0; #if FLEXT_SYS == FLEXT_SYS_PD ! const double ms = tm*1000.; ! if(dopast || clock_gettimesince(ms) <= 0) ! clock_set(clk,ms); #elif FLEXT_SYS == FLEXT_SYS_MAX const double ms = tm*1000.; --- 163,171 ---- period = 0; #if FLEXT_SYS == FLEXT_SYS_PD ! const double systm = clock_gettimesince(0); ! double df = tm*1000.-systm; ! if(dopast && df < 0) df = 0; ! if(df >= 0) ! clock_delay(clk,df); #elif FLEXT_SYS == FLEXT_SYS_MAX const double ms = tm*1000.;