[PD-cvs] pd/src s_audio.c,1.5.4.9,1.5.4.10
Tim Blechmann
timblech at users.sourceforge.net
Thu Apr 7 23:23:18 CEST 2005
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9664
Modified Files:
Tag: devel_0_38
s_audio.c
Log Message:
fixing sleepgrain
Index: s_audio.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_audio.c,v
retrieving revision 1.5.4.9
retrieving revision 1.5.4.10
diff -C2 -d -r1.5.4.9 -r1.5.4.10
*** s_audio.c 27 Feb 2005 12:26:22 -0000 1.5.4.9
--- s_audio.c 7 Apr 2005 21:23:15 -0000 1.5.4.10
***************
*** 323,333 ****
sys_schedadvance = advance * 1000;
! /* tb { : cut'n'paste from m_scheduler to adapt the sleepgrain with the latency */
! if (sys_sleepgrain < 1000)
sys_sleepgrain = sys_schedadvance/4;
if (sys_sleepgrain < 100)
sys_sleepgrain = 100;
! else if (sys_sleepgrain > 5000)
! sys_sleepgrain = 5000;
/* } tb */
--- 323,335 ----
sys_schedadvance = advance * 1000;
! /* tb {
! * cut'n'paste from m_scheduler to adapt the sleepgrain with the latency */
! if (sys_schedadvance < 20000)
sys_sleepgrain = sys_schedadvance/4;
if (sys_sleepgrain < 100)
sys_sleepgrain = 100;
! else
! if (sys_sleepgrain > 5000)
! sys_sleepgrain = 5000;
/* } tb */
More information about the Pd-cvs
mailing list