From 9c6198c490f1a005753edde2d1231211615aa8a3 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 4 Sep 2015 11:44:29 -0400
Subject: [PATCH] tof: add A_CANT to dsp method

---
 externals/tof/src/breakpoints~.c | 2 +-
 externals/tof/src/common~.c      | 2 +-
 externals/tof/src/crossfade~.c   | 2 +-
 externals/tof/src/phasorshot~.c  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/externals/tof/src/breakpoints~.c b/externals/tof/src/breakpoints~.c
index 2f7e4a0e2..1028dbb67 100644
--- a/externals/tof/src/breakpoints~.c
+++ b/externals/tof/src/breakpoints~.c
@@ -379,7 +379,7 @@ void breakpoints_tilde_setup(void)
    CLASS_MAINSIGNALIN(breakpoints_class, t_breakpoints, x_f);
     	/* here we tell Pd about the "dsp" method, which is called back
 	when DSP is turned on. */
-    class_addmethod(breakpoints_class, (t_method)breakpointssig_dsp, gensym("dsp"), 0);
+    class_addmethod(breakpoints_class, (t_method)breakpointssig_dsp, gensym("dsp"), A_CANT, 0);
 
 
     //class_addcreator((t_newmethod)breakpoints_new,gensym("breakpoints~"),A_GIMME,0);
diff --git a/externals/tof/src/common~.c b/externals/tof/src/common~.c
index 573eaf1e9..3e234468c 100644
--- a/externals/tof/src/common~.c
+++ b/externals/tof/src/common~.c
@@ -238,7 +238,7 @@ void common_tilde_setup(void) {
         0, A_DEFSYM, 0);
   
   class_addmethod(common_tilde_class,
-        (t_method)common_tilde_dsp, gensym("dsp"), 0);
+        (t_method)common_tilde_dsp, gensym("dsp"), A_CANT, 0);
 		
   class_addmethod(common_tilde_class,
         (t_method)common_tilde_set, gensym("set"), A_SYMBOL, 0);
diff --git a/externals/tof/src/crossfade~.c b/externals/tof/src/crossfade~.c
index 98348f9bc..da777b13c 100644
--- a/externals/tof/src/crossfade~.c
+++ b/externals/tof/src/crossfade~.c
@@ -145,7 +145,7 @@ static void *crossfade_tilde_new(t_floatarg f)
 		
   CLASS_MAINSIGNALIN(crossfade_tilde_class, t_crossfade_tilde, f);
   class_addmethod(crossfade_tilde_class,
-        (t_method)crossfade_tilde_dsp, gensym("dsp"), 0);
+        (t_method)crossfade_tilde_dsp, gensym("dsp"), A_CANT, 0);
  // class_addmethod(crossfade_tilde_class, nullfn, gensym("signal"), 0);
  
 }
diff --git a/externals/tof/src/phasorshot~.c b/externals/tof/src/phasorshot~.c
index 22fa90c70..84b9f0653 100644
--- a/externals/tof/src/phasorshot~.c
+++ b/externals/tof/src/phasorshot~.c
@@ -203,7 +203,7 @@ void phasorshot_free(t_phasorshot *x)
     phasorshot_class = class_new(gensym("phasorshot~"), (t_newmethod)phasorshot_new, (t_method)phasorshot_free,
         sizeof(t_phasorshot), 0,A_GIMME,0);
     CLASS_MAINSIGNALIN(phasorshot_class, t_phasorshot, x_f);
-    class_addmethod(phasorshot_class, (t_method)phasorshot_dsp, gensym("dsp"), 0);
+    class_addmethod(phasorshot_class, (t_method)phasorshot_dsp, gensym("dsp"), A_CANT, 0);
     
     class_addmethod(phasorshot_class, (t_method)phasorshot_ft1,
         gensym("ft1"), A_FLOAT, 0);
-- 
GitLab