[PD-cvs] pd/src desire.c, 1.1.2.217.2.50, 1.1.2.217.2.51 desire.h, 1.1.2.49.2.6, 1.1.2.49.2.7

Mathieu Bouchard matju at users.sourceforge.net
Fri Dec 8 22:28:39 CET 2006


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

Modified Files:
      Tag: desiredata
	desire.c desire.h 
Log Message:
finished 0.40 changes for desire.[ch]


Index: desire.h
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.h,v
retrieving revision 1.1.2.49.2.6
retrieving revision 1.1.2.49.2.7
diff -C2 -d -r1.1.2.49.2.6 -r1.1.2.49.2.7
*** desire.h	8 Dec 2006 09:17:55 -0000	1.1.2.49.2.6
--- desire.h	8 Dec 2006 21:28:37 -0000	1.1.2.49.2.7
***************
*** 170,173 ****
--- 170,175 ----
      unsigned int goprect:1;    /* draw rectangle for graph-on-parent */
      unsigned int isgraph:1;    /* show as graph on parent */
+     unsigned int hidetext:1;   /* hide object-name + args when doing graph on parent */
+ 
      long next_add;             /* insertion point for next call to canvas_add (for future use!?) */
  };

Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.50
retrieving revision 1.1.2.217.2.51
diff -C2 -d -r1.1.2.217.2.50 -r1.1.2.217.2.51
*** desire.c	8 Dec 2006 20:41:29 -0000	1.1.2.217.2.50
--- desire.c	8 Dec 2006 21:28:35 -0000	1.1.2.217.2.51
***************
*** 527,532 ****
  }
  
! /* make a new canvas.  It will either be a "root" canvas or else its parent will be
!    a "text" object in another window... we don't know which yet. */
  static t_canvas *canvas_new(void *dummy, t_symbol *sel, int argc, t_atom *argv) {
      t_canvas *x = (t_canvas *)pd_new(canvas_class);
--- 527,532 ----
  }
  
! /* make a new canvas.  It will either be a "root" canvas or else it appears as
!    a "text" object in another window (canvas_getcurrent() tells us which.) */
  static t_canvas *canvas_new(void *dummy, t_symbol *sel, int argc, t_atom *argv) {
      t_canvas *x = (t_canvas *)pd_new(canvas_class);
***************
*** 3299,3309 ****
      if (x->directsignal) signal_setborrowed(sp[0], x->directsignal);
      else {
!         const int n = outsig->s_n;
! 	    if(n&7) dsp_add(vinlet_perform, 3, x, outsig->s_vec,n);
! 	    else if(SIMD_CHECK1(n,outsig->s_vec))
              /* if the outsig->s_vec is aligned the x->read will also be... */
! 	        dsp_add(vinlet_perfsimd, 3, x, outsig->s_vec,n);
! 	    else
! 	        dsp_add(vinlet_perf8, 3, x, outsig->s_vec,n);
          x->read = x->buf;
      }
--- 3299,3308 ----
      if (x->directsignal) signal_setborrowed(sp[0], x->directsignal);
      else {
!         const int vecsize = outsig->s_vecsize;
              /* if the outsig->s_vec is aligned the x->read will also be... */
! 	    if(vecsize&7) dsp_add(vinlet_perform, 3, x, outsig->s_vec,vecsize);
! 	    else if(SIMD_CHECK1(n,outsig->s_vec))
! 	         dsp_add(vinlet_perfsimd, 3, x, outsig->s_vec,vecsize);
! 	    else dsp_add(vinlet_perf8,    3, x, outsig->s_vec,vecsize);
          x->read = x->buf;
      }
***************
*** 3348,3352 ****
          if (parentsigs) {
              insig = parentsigs[inlet_getsignalindex(x->inlet)];
!             parentvecsize = insig->s_n;
              re_parentvecsize = parentvecsize * upsample / downsample;
          } else {
--- 3347,3351 ----
          if (parentsigs) {
              insig = parentsigs[inlet_getsignalindex(x->inlet)];
!             parentvecsize = insig->s_vecsize;
              re_parentvecsize = parentvecsize * upsample / downsample;
          } else {
***************
*** 3576,3580 ****
          if (parentsigs) {
              outsig = parentsigs[outlet_getsignalindex(x->parentoutlet)];
!             parentvecsize = outsig->s_n;
              re_parentvecsize = parentvecsize * upsample / downsample;
          } else {
--- 3575,3579 ----
          if (parentsigs) {
              outsig = parentsigs[outlet_getsignalindex(x->parentoutlet)];
!             parentvecsize = outsig->s_vecsize;
              re_parentvecsize = parentvecsize * upsample / downsample;
          } else {





More information about the Pd-cvs mailing list