[PD-cvs] pd/extra/bonk~ bonk~.c,1.3.4.3,1.3.4.4

Thomas Grill xovo at users.sourceforge.net
Wed Nov 30 14:57:11 CET 2005


Update of /cvsroot/pure-data/pd/extra/bonk~
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28200/extra/bonk~

Modified Files:
      Tag: devel_0_39
	bonk~.c 
Log Message:
reverting Matju's cosmetic changes (see saved patch 1370034 in the patch tracker)

Index: bonk~.c
===================================================================
RCS file: /cvsroot/pure-data/pd/extra/bonk~/bonk~.c,v
retrieving revision 1.3.4.3
retrieving revision 1.3.4.4
diff -C2 -d -r1.3.4.3 -r1.3.4.4
*** bonk~.c	27 Nov 2005 23:17:33 -0000	1.3.4.3
--- bonk~.c	30 Nov 2005 13:57:09 -0000	1.3.4.4
***************
*** 232,235 ****
--- 232,237 ----
      int nfit, ninsig = x->x_ninsig, ntemplate = x->x_ntemplate;
      t_insig *gp;
+     int totalbins = NFILTERS * ninsig;
+     
      x->x_willattack = 0;
  
***************
*** 693,698 ****
      }
  nomore:
!     remaining = ntemplate % x->x_ninsig;
!     if (remaining)
      {
          post("bonk_read: %d templates not a multiple of %d; dropping extras");
--- 695,699 ----
      }
  nomore:
!     if (remaining = (ntemplate % x->x_ninsig))
      {
          post("bonk_read: %d templates not a multiple of %d; dropping extras");
***************
*** 950,954 ****
  void bonk_tilde_setup(void)
  {
!     bonk_class = class_new(gensym("bonk~"), (t_newmethod)bonk_new, (t_method)bonk_free,
          sizeof(t_bonk), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
      class_addmethod(bonk_class, nullfn, gensym("signal"), 0);
--- 951,955 ----
  void bonk_tilde_setup(void)
  {
!     bonk_class = class_new(gensym("bonk~"), (t_newmethod)bonk_new, 0,
          sizeof(t_bonk), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
      class_addmethod(bonk_class, nullfn, gensym("signal"), 0);





More information about the Pd-cvs mailing list