[PD-cvs] pd/src d_soundfile.c,1.4.4.1,1.4.4.2

Tim Blechmann timblech at users.sourceforge.net
Sun Nov 14 13:08:04 CET 2004


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

Modified Files:
      Tag: devel_0_38
	d_soundfile.c 
Log Message:
threaded soundfiler for writing is brocken ... rethink

Index: d_soundfile.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/d_soundfile.c,v
retrieving revision 1.4.4.1
retrieving revision 1.4.4.2
diff -C2 -d -r1.4.4.1 -r1.4.4.2
*** d_soundfile.c	5 Nov 2004 13:55:58 -0000	1.4.4.1
--- d_soundfile.c	14 Nov 2004 12:08:02 -0000	1.4.4.2
***************
*** 1434,1438 ****
      if (samplerate < 0)
      	samplerate = sys_getsr();
!     for (i = 0; i < nchannels; i++)
      {
      	int vecsize;
--- 1434,1438 ----
      if (samplerate < 0)
      	samplerate = sys_getsr();
! 	for (i = 0; i < nchannels; i++)
      {
      	int vecsize;
***************
*** 2120,2126 ****
      class_addmethod(soundfiler_class, (t_method)soundfiler_read, gensym("read"), 
          A_GIMME, 0);
      class_addmethod(soundfiler_class, (t_method)soundfiler_write,
          gensym("write"), A_GIMME, 0);
- #endif /* THREADED_SF */
  }
  
--- 2120,2126 ----
      class_addmethod(soundfiler_class, (t_method)soundfiler_read, gensym("read"), 
          A_GIMME, 0);
+ #endif /* THREADED_SF */
      class_addmethod(soundfiler_class, (t_method)soundfiler_write,
          gensym("write"), A_GIMME, 0);
  }
  





More information about the Pd-cvs mailing list