aboutsummaryrefslogtreecommitdiff
path: root/iemlib1
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-17 14:59:27 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2007-01-17 14:59:27 +0000
commit9ee794d32ae2d367d6a98df650fd0797ea5b8575 (patch)
tree8938232cc9791d68f06718a9ee7ea18b3c67345b /iemlib1
parent100242128792ea2cb671838f5cffb9fc974c535f (diff)
applied mac intel patch from t grill
svn path=/trunk/externals/iemlib/; revision=7360
Diffstat (limited to 'iemlib1')
-rw-r--r--iemlib1/src/FIR~.c2
-rw-r--r--iemlib1/src/filter~.c2
-rw-r--r--iemlib1/src/hml_shelf~.c2
-rw-r--r--iemlib1/src/iemlib.h5
-rw-r--r--iemlib1/src/lp1_t~.c2
-rw-r--r--iemlib1/src/mov_avrg_kern~.c2
-rw-r--r--iemlib1/src/para_bp2~.c2
-rw-r--r--iemlib1/src/peakenv~.c2
-rw-r--r--iemlib1/src/prvu~.c2
-rw-r--r--iemlib1/src/pvu~.c2
-rw-r--r--iemlib1/src/rvu~.c2
-rw-r--r--iemlib1/src/sin_phase~.c2
-rw-r--r--iemlib1/src/vcf_filter~.c2
13 files changed, 17 insertions, 12 deletions
diff --git a/iemlib1/src/FIR~.c b/iemlib1/src/FIR~.c
index 05bf267..608898b 100644
--- a/iemlib1/src/FIR~.c
+++ b/iemlib1/src/FIR~.c
@@ -21,7 +21,7 @@ typedef struct _FIR_tilde
t_float x_msi;
} t_FIR_tilde;
-t_class *FIR_tilde_class;
+static t_class *FIR_tilde_class;
static t_int *FIR_tilde_perform(t_int *w)
{
diff --git a/iemlib1/src/filter~.c b/iemlib1/src/filter~.c
index 1a18072..cd90fb5 100644
--- a/iemlib1/src/filter~.c
+++ b/iemlib1/src/filter~.c
@@ -49,7 +49,7 @@ typedef struct _filter_tilde
t_float x_msi;
} t_filter_tilde;
-t_class *filter_tilde_class;
+static t_class *filter_tilde_class;
static void filter_tilde_snafu(t_filter_tilde *x)
{
diff --git a/iemlib1/src/hml_shelf~.c b/iemlib1/src/hml_shelf~.c
index abf2184..f2ec442 100644
--- a/iemlib1/src/hml_shelf~.c
+++ b/iemlib1/src/hml_shelf~.c
@@ -50,7 +50,7 @@ typedef struct _hml_shelf_tilde
t_float x_msi;
} t_hml_shelf_tilde;
-t_class *hml_shelf_tilde_class;
+static t_class *hml_shelf_tilde_class;
static void hml_shelf_tilde_calc(t_hml_shelf_tilde *x)
{
diff --git a/iemlib1/src/iemlib.h b/iemlib1/src/iemlib.h
index 203a5e5..ba62f68 100644
--- a/iemlib1/src/iemlib.h
+++ b/iemlib1/src/iemlib.h
@@ -80,8 +80,13 @@ should have been by CPU type and not by operating system! */
#else
#ifdef __APPLE__
+#ifdef __BIG_ENDIAN__
#define HIOFFSET 0 /* word offset to find MSB */
#define LOWOFFSET 1 /* word offset to find LSB */
+#else
+#define HIOFFSET 1 /* word offset to find MSB */
+#define LOWOFFSET 0 /* word offset to find LSB */
+#endif
#define int32 int /* a data type that has 32 bits */
#endif /* __APPLE__ */
diff --git a/iemlib1/src/lp1_t~.c b/iemlib1/src/lp1_t~.c
index a4a625f..987f527 100644
--- a/iemlib1/src/lp1_t~.c
+++ b/iemlib1/src/lp1_t~.c
@@ -27,7 +27,7 @@ typedef struct _lp1_t_tilde
t_float x_msi;
} t_lp1_t_tilde;
-t_class *lp1_t_tilde_class;
+static t_class *lp1_t_tilde_class;
static void lp1_t_tilde_dsp_tick(t_lp1_t_tilde *x)
{
diff --git a/iemlib1/src/mov_avrg_kern~.c b/iemlib1/src/mov_avrg_kern~.c
index ef7fe3e..0b7c160 100644
--- a/iemlib1/src/mov_avrg_kern~.c
+++ b/iemlib1/src/mov_avrg_kern~.c
@@ -22,7 +22,7 @@ typedef struct _mov_avrg_kern_tilde
t_float x_msi;
} t_mov_avrg_kern_tilde;
-t_class *mov_avrg_kern_tilde_class;
+static t_class *mov_avrg_kern_tilde_class;
static t_int *mov_avrg_kern_tilde_perform(t_int *w)
{
diff --git a/iemlib1/src/para_bp2~.c b/iemlib1/src/para_bp2~.c
index 5c5903a..d946c71 100644
--- a/iemlib1/src/para_bp2~.c
+++ b/iemlib1/src/para_bp2~.c
@@ -44,7 +44,7 @@ typedef struct _para_bp2_tilde
t_float x_msi;
} t_para_bp2_tilde;
-t_class *para_bp2_tilde_class;
+static t_class *para_bp2_tilde_class;
static void para_bp2_tilde_calc(t_para_bp2_tilde *x)
{
diff --git a/iemlib1/src/peakenv~.c b/iemlib1/src/peakenv~.c
index e821c1f..0625205 100644
--- a/iemlib1/src/peakenv~.c
+++ b/iemlib1/src/peakenv~.c
@@ -20,7 +20,7 @@ typedef struct _peakenv_tilde
t_float x_msi;
} t_peakenv_tilde;
-t_class *peakenv_tilde_class;
+static t_class *peakenv_tilde_class;
static void peakenv_tilde_reset(t_peakenv_tilde *x)
{
diff --git a/iemlib1/src/prvu~.c b/iemlib1/src/prvu~.c
index 327774a..b79a7fe 100644
--- a/iemlib1/src/prvu~.c
+++ b/iemlib1/src/prvu~.c
@@ -33,7 +33,7 @@ typedef struct _prvu_tilde
t_float x_msi;
} t_prvu_tilde;
-t_class *prvu_tilde_class;
+static t_class *prvu_tilde_class;
static void prvu_tilde_tick_metro(t_prvu_tilde *x);
static void prvu_tilde_tick_hold(t_prvu_tilde *x);
diff --git a/iemlib1/src/pvu~.c b/iemlib1/src/pvu~.c
index b619e8e..dc18f4a 100644
--- a/iemlib1/src/pvu~.c
+++ b/iemlib1/src/pvu~.c
@@ -26,7 +26,7 @@ typedef struct _pvu_tilde
t_float x_msi;
} t_pvu_tilde;
-t_class *pvu_tilde_class;
+static t_class *pvu_tilde_class;
static void pvu_tilde_tick(t_pvu_tilde *x);
static void pvu_tilde_reset(t_pvu_tilde *x)
diff --git a/iemlib1/src/rvu~.c b/iemlib1/src/rvu~.c
index 2adbb52..f295bfb 100644
--- a/iemlib1/src/rvu~.c
+++ b/iemlib1/src/rvu~.c
@@ -25,7 +25,7 @@ typedef struct _rvu_tilde
t_float x_msi;
} t_rvu_tilde;
-t_class *rvu_tilde_class;
+static t_class *rvu_tilde_class;
static void rvu_tilde_tick_metro(t_rvu_tilde *x);
static void rvu_tilde_reset(t_rvu_tilde *x)
diff --git a/iemlib1/src/sin_phase~.c b/iemlib1/src/sin_phase~.c
index 78d22c8..925be28 100644
--- a/iemlib1/src/sin_phase~.c
+++ b/iemlib1/src/sin_phase~.c
@@ -23,7 +23,7 @@ typedef struct _sin_phase_tilde
t_float x_msi;
} t_sin_phase_tilde;
-t_class *sin_phase_tilde_class;
+static t_class *sin_phase_tilde_class;
static t_int *sin_phase_tilde_perform(t_int *w)
{
diff --git a/iemlib1/src/vcf_filter~.c b/iemlib1/src/vcf_filter~.c
index 1d26df0..393559a 100644
--- a/iemlib1/src/vcf_filter~.c
+++ b/iemlib1/src/vcf_filter~.c
@@ -19,7 +19,7 @@ typedef struct _vcf_filter_tilde
char x_filtname[6];
} t_vcf_filter_tilde;
-t_class *vcf_filter_tilde_class;
+static t_class *vcf_filter_tilde_class;
static t_int *vcf_filter_tilde_perform_snafu(t_int *w)
{