Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9068
Modified Files: Tag: devel_0_39 s_audio.c Log Message: current operating systems won't be able to sleep less than 1 ms
Index: s_audio.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio.c,v retrieving revision 1.5.4.16.2.5 retrieving revision 1.5.4.16.2.6 diff -C2 -d -r1.5.4.16.2.5 -r1.5.4.16.2.6 *** s_audio.c 16 Dec 2005 21:22:19 -0000 1.5.4.16.2.5 --- s_audio.c 2 Mar 2006 12:55:28 -0000 1.5.4.16.2.6 *************** *** 1233,1242 **** void sys_update_sleepgrain(void) { ! sys_sleepgrain = sys_schedadvance/4; ! if (sys_sleepgrain < 100) ! sys_sleepgrain = 100; else ! if (sys_sleepgrain > 5000) ! sys_sleepgrain = 5000; }
--- 1233,1242 ---- void sys_update_sleepgrain(void) { ! sys_sleepgrain = sys_schedadvance/4; ! if (sys_sleepgrain < 1000) ! sys_sleepgrain = 1000; else ! if (sys_sleepgrain > 5000) ! sys_sleepgrain = 5000; }