From 41c98252741e53bac9cab291e57f87f40a24d9bc Mon Sep 17 00:00:00 2001 From: zacksettel Date: Thu, 14 Aug 2014 22:26:23 +0000 Subject: cleaned up code to compile and run on Linux i686 32bit svn path=/trunk/externals/vbap/; revision=17332 --- vbap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vbap.h') diff --git a/vbap.h b/vbap.h index 57146ac..ecd388c 100644 --- a/vbap.h +++ b/vbap.h @@ -11,8 +11,9 @@ #endif #ifdef PD +// Revised by Z. Settel to dynamically allocate memory #define MAX_LS_SETS 745 // maximum number of loudspeaker sets (triplets or pairs) allowed -- allows for up to 44 speakers in 3D config -//#define MAX_LS_SETS 100 // former maximum value, allowed for up to 13 speakers in 3D config +//#define MAX_LS_SETS 100 // former maximum value crashed for 3D speaker configurations with more than 13 speakers //#define MAX_LS_SETS 571 // example: for up to 32 speakers in 3D config #else // Max @@ -27,7 +28,7 @@ #define MAX_LS_AMOUNT 55 // maximum amount of loudspeakers, can be increased, but see comments next to MAX_LS_SETS above #define MIN_VOL_P_SIDE_LGTH 0.01 -#define VBAP_VERSION "pdsheefa_vbap - v1.0.3.3 - 15 May 2014 - (c) Ville Pulkki 1999-2006 (Pd port by HCS, updated by ZS)" +#define VBAP_VERSION "vbap - v1.1 - 14 Aug. 2014 - (c) Ville Pulkki 1999-2006 (Pd port by HCS)" #define DFLS_VERSION "define_loudspeakers - v1.0.3.2 - 20 Nov 2010 - (c) Ville Pulkki 1999-2006" static t_float rad2ang = 360.0 / ( 2.0f * M_PI ); -- cgit v1.2.1