aboutsummaryrefslogtreecommitdiff
path: root/src/pmpd~.c
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2006-06-13 17:47:10 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2006-06-13 17:47:10 +0000
commitb7ebf0bf8ada854bb04c403927328bf0ca273599 (patch)
tree18552ca762d5ede2994c2f3d35484a6b69d3e758 /src/pmpd~.c
parentcfb3f3e8b55e40acf9e1ab4af0f809fe3c0fabb0 (diff)
spliting pmpd lib to single files
svn path=/trunk/externals/pmpd/; revision=5221
Diffstat (limited to 'src/pmpd~.c')
-rwxr-xr-xsrc/pmpd~.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/pmpd~.c b/src/pmpd~.c
index ed17b68..62013a6 100755
--- a/src/pmpd~.c
+++ b/src/pmpd~.c
@@ -15,6 +15,13 @@
#define max(a,b) ( ((a) > (b)) ? (a) : (b) )
#define min(a,b) ( ((a) < (b)) ? (a) : (b) )
+
+#define nb_max_link 2000
+#define nb_max_mass 2000
+#define nb_max_out 200
+#define nb_max_in 200
+#define nb_max_outlet 20
+#define nb_max_inlet 20 // hard-coded on the methods definition
static t_class *pmpd_tilde_class;
@@ -31,7 +38,7 @@ typedef struct _link {
struct _mass *mass1;
struct _mass *mass2;
t_float Ke, K1, D1, K2, D2;
-} foo1;
+} foo1 ;
typedef struct _out {
// TODO ajouter un type pour diferencier les outlets en forces et celles en position