From ace7f65b2985855228bacb91821862a4c2402ece Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 4 Sep 2015 11:03:45 -0400
Subject: [PATCH] motex: add A_CANT to dsp method

---
 externals/motex/ln~.c       | 2 +-
 externals/motex/pansig~.c   | 2 +-
 externals/motex/pan~.c      | 2 +-
 externals/motex/pol2rec~.c  | 2 +-
 externals/motex/polygate~.c | 2 +-
 externals/motex/rec2pol~.c  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/externals/motex/ln~.c b/externals/motex/ln~.c
index bf5939e94..5cb123680 100644
--- a/externals/motex/ln~.c
+++ b/externals/motex/ln~.c
@@ -126,5 +126,5 @@ void ln_tilde_setup(void)
     ln_class = class_new(gensym("ln~"), (t_newmethod)ln_new, 0,
     	sizeof(t_ln), 0, A_DEFFLOAT, 0);
     class_addmethod(ln_class, nullfn, gensym("signal"), 0);
-    class_addmethod(ln_class, (t_method)ln_dsp, gensym("dsp"), 0);
+    class_addmethod(ln_class, (t_method)ln_dsp, gensym("dsp"), A_CANT, 0);
 }
diff --git a/externals/motex/pansig~.c b/externals/motex/pansig~.c
index 346e94b5c..71ebf626b 100644
--- a/externals/motex/pansig~.c
+++ b/externals/motex/pansig~.c
@@ -131,6 +131,6 @@ void pansig_tilde_setup(void)
 			sizeof(t_pansig), 0, A_GIMME, 0);
   class_addmethod(pansig_class, nullfn, gensym("signal"), 0);
 
-  class_addmethod(pansig_class, (t_method)pansig_dsp, gensym("dsp"), 0);
+  class_addmethod(pansig_class, (t_method)pansig_dsp, gensym("dsp"), A_CANT, 0);
   //  class_addmethod(pansig_class, (t_method)pansig_f, gensym("pansigf"), A_FLOAT, 0);  
 }
diff --git a/externals/motex/pan~.c b/externals/motex/pan~.c
index 028e8a9ae..3fce96ef0 100644
--- a/externals/motex/pan~.c
+++ b/externals/motex/pan~.c
@@ -99,6 +99,6 @@ void pan_tilde_setup(void)
 			sizeof(t_pan), 0, A_GIMME, 0);
   class_addmethod(pan_class, nullfn, gensym("signal"), 0);
 
-  class_addmethod(pan_class, (t_method)pan_dsp, gensym("dsp"), 0);
+  class_addmethod(pan_class, (t_method)pan_dsp, gensym("dsp"), A_CANT, 0);
   class_addmethod(pan_class, (t_method)pan_f, gensym("panf"), A_FLOAT, 0);  
 }
diff --git a/externals/motex/pol2rec~.c b/externals/motex/pol2rec~.c
index ff7f6deef..b54d84eb6 100644
--- a/externals/motex/pol2rec~.c
+++ b/externals/motex/pol2rec~.c
@@ -131,7 +131,7 @@ void pol2rec_tilde_setup(void)
 			    sizeof(t_pol2rec), 0, A_GIMME, 0);
   class_addmethod(pol2rec_class, nullfn, gensym("signal"), 0);
 
-  class_addmethod(pol2rec_class, (t_method)pol2rec_dsp, gensym("dsp"), 0);
+  class_addmethod(pol2rec_class, (t_method)pol2rec_dsp, gensym("dsp"), A_CANT, 0);
   CLASS_MAINSIGNALIN(pol2rec_class, t_pol2rec, x_f);
 
 }
diff --git a/externals/motex/polygate~.c b/externals/motex/polygate~.c
index eb5771bb3..d47f09f1e 100644
--- a/externals/motex/polygate~.c
+++ b/externals/motex/polygate~.c
@@ -499,7 +499,7 @@ void polygate_tilde_setup(void)
   polygate_class = class_new(gensym("polygate~"), (t_newmethod)polygate_new, (t_method)polygate_free,
 			     sizeof(t_polygate), 0, A_GIMME, 0);
   class_addmethod(polygate_class, nullfn, gensym("signal"), 0);
-  class_addmethod(polygate_class, (t_method)polygate_dsp, gensym("dsp"), 0);
+  class_addmethod(polygate_class, (t_method)polygate_dsp, gensym("dsp"), A_CANT, 0);
   CLASS_MAINSIGNALIN(polygate_class, t_polygate, x_f);
   class_addmethod(polygate_class, (t_method)polygate_f, gensym("choice"), A_FLOAT, 0);  
   class_addmethod(polygate_class, (t_method)polygate_ftimeepower, gensym("ftime-epower"), A_FLOAT, (t_atomtype) 0);
diff --git a/externals/motex/rec2pol~.c b/externals/motex/rec2pol~.c
index a7862654e..56441f8fb 100644
--- a/externals/motex/rec2pol~.c
+++ b/externals/motex/rec2pol~.c
@@ -124,7 +124,7 @@ void rec2pol_tilde_setup(void)
 			    sizeof(t_rec2pol), 0, A_GIMME, 0);
   class_addmethod(rec2pol_class, nullfn, gensym("signal"), 0);
 
-  class_addmethod(rec2pol_class, (t_method)rec2pol_dsp, gensym("dsp"), 0);
+  class_addmethod(rec2pol_class, (t_method)rec2pol_dsp, gensym("dsp"), A_CANT, 0);
   CLASS_MAINSIGNALIN(rec2pol_class, t_rec2pol, x_f);
 }
 
-- 
GitLab