[PD-cvs] pd/src s_audio.c,1.5.4.11,1.5.4.12

Tim Blechmann timblech at users.sourceforge.net
Tue May 10 13:16:15 CEST 2005


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10622

Modified Files:
      Tag: devel_0_38
	s_audio.c 
Log Message:
small sleepgrain fix

Index: s_audio.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_audio.c,v
retrieving revision 1.5.4.11
retrieving revision 1.5.4.12
diff -C2 -d -r1.5.4.11 -r1.5.4.12
*** s_audio.c	8 Apr 2005 12:42:04 -0000	1.5.4.11
--- s_audio.c	10 May 2005 11:16:03 -0000	1.5.4.12
***************
*** 394,399 ****
  	/* 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;
--- 394,398 ----
  	/* tb {
  	 * cut'n'paste from m_scheduler to adapt the sleepgrain with the latency */
! 	sys_sleepgrain = sys_schedadvance/4;
      if (sys_sleepgrain < 100)
          sys_sleepgrain = 100;
***************
*** 456,459 ****
--- 455,461 ----
  }
  
+ 
+ 
+ 
      /* open audio using whatever parameters were last used */
  void sys_reopen_audio( void)





More information about the Pd-cvs mailing list