[PD-cvs] pd/src d_soundfile.c,1.1.1.2.2.23,1.1.1.2.2.24

Tim Blechmann timblech at users.sourceforge.net
Mon Sep 13 14:37:50 CEST 2004


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

Modified Files:
      Tag: devel_0_37
	d_soundfile.c 
Log Message:
fixed thread unlocking

Index: d_soundfile.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_soundfile.c,v
retrieving revision 1.1.1.2.2.23
retrieving revision 1.1.1.2.2.24
diff -C2 -d -r1.1.1.2.2.23 -r1.1.1.2.2.24
*** d_soundfile.c	12 Sep 2004 18:27:38 -0000	1.1.1.2.2.23
--- d_soundfile.c	13 Sep 2004 12:37:48 -0000	1.1.1.2.2.24
***************
*** 1442,1448 ****
  	    }
  	    /* zero samples */
! 	    /* todo: this is not necessary at this point in the process, but
! 	       when we do that later, i had some problems */
! 	    if(i >= channels)
  		memset(nvecs[i],0,vecsize[i] * sizeof(t_float));
  	}
--- 1442,1446 ----
  	    }
  	    /* zero samples */
! 	    if(i > channels)
  		memset(nvecs[i],0,vecsize[i] * sizeof(t_float));
  	}
***************
*** 1479,1484 ****
  #endif
          if (garrays[i]->x_usedindsp) canvas_update_dsp();
- 	sys_unlock();
      }
  
      	/* do all graphics updates */
--- 1477,1482 ----
  #endif
          if (garrays[i]->x_usedindsp) canvas_update_dsp();
      }
+     sys_unlock();
  
      	/* do all graphics updates */





More information about the Pd-cvs mailing list