Package: pd-earplug / 0.2-4

A_CANT.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: fixed crasher bug by ignoring "dsp" messages
Author: IOhannes m zmölnig
Forwarded: no
Last-Update: 2018-01-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- pd-earplug.orig/earplug~.c
+++ pd-earplug/earplug~.c
@@ -40,7 +40,7 @@
     t_float convBuffer[128] ;
     t_float (*impulses)[2][128];          /* a 3D array of 368x2x128 */
     t_float f ;                   /* dummy float for dsp */
-    t_int bufferPin;
+    int bufferPin;
 } t_earplug;
 
 static t_int *earplug_perform(t_int *w)
@@ -255,5 +255,5 @@
    
     CLASS_MAINSIGNALIN(earplug_class, t_earplug, f);
    
-    class_addmethod(earplug_class, (t_method)earplug_dsp, gensym("dsp"), 0);
+    class_addmethod(earplug_class, (t_method)earplug_dsp, gensym("dsp"), A_CANT, 0);
 }