aboutsummaryrefslogtreecommitdiff
path: root/vbap.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-24 04:16:56 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-24 04:16:56 +0000
commit0ed2e0aa2d03af0a2bc6c594aee46511a0758df8 (patch)
treef9107f04979bf3bbdd88ae09b68fa7a4b8a04d90 /vbap.h
parented884cfd2d33f197c7c4625f05b84e8a9e9597c3 (diff)
- completed the port of Ville Pulkki's vbap 1.0.3, it builds and works in Pd
- removed gain inlet/outlet since its stupid. Just use a [*~] on the input source, its really the same thing, there is no difference. - added a third argument for the default 'spread' value - updated help patches somewhat svn path=/trunk/externals/vbap/; revision=11110
Diffstat (limited to 'vbap.h')
-rw-r--r--vbap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/vbap.h b/vbap.h
index dc9858b..3da2157 100644
--- a/vbap.h
+++ b/vbap.h
@@ -14,7 +14,7 @@
#define MAX_LS_AMOUNT 55 // maximum amount of loudspeakers, can be increased
#define MIN_VOL_P_SIDE_LGTH 0.01
-#define VBAP_VERSION "vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006"
+#define VBAP_VERSION "vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006 (Pd port by HCS)"
#define DFLS_VERSION "define_loudspeakers - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006"
static float rad2ang = 360.0 / ( 2.0f * M_PI );
@@ -71,7 +71,6 @@ typedef struct t_ls_set
long x_dimension; // 2 or 3
# ifdef PD
t_float x_spread; // speading amount of virtual source (0-100)
- t_float x_gain; // general gain control (0-2)
# else /* Max */
long x_spread; // speading amount of virtual source (0-100)
double x_gain; // general gain control (0-2)