aboutsummaryrefslogtreecommitdiff
path: root/src/bin_ambi_reduced_decode.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-01-13 17:13:31 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-01-13 17:13:31 +0000
commit524ba817b76fdd27c6833cc948d27aba18280332 (patch)
tree4937d21f0b04bbf3981672ea6a5f1d0c45b94af8 /src/bin_ambi_reduced_decode.c
parent4ca40545c23235fc899c4429260cbb96b33efd49 (diff)
start for 64bit; broken for now..
svn path=/trunk/externals/iem/iem_bin_ambi/; revision=10532
Diffstat (limited to 'src/bin_ambi_reduced_decode.c')
-rw-r--r--src/bin_ambi_reduced_decode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin_ambi_reduced_decode.c b/src/bin_ambi_reduced_decode.c
index 3441bb2..949c715 100644
--- a/src/bin_ambi_reduced_decode.c
+++ b/src/bin_ambi_reduced_decode.c
@@ -644,7 +644,7 @@ static void bin_ambi_reduced_decode_calc_pinv(t_bin_ambi_reduced_decode *x)
{
if (!(a = (t_garray *)pd_findbyclass(x->x_s_fade_out_hrir, garray_class)))
error("%s: no such array", x->x_s_fade_out_hrir->s_name);
- else if (!garray_getfloatarray(a, &npoints, &fadevec))
+ else if (!iemarray_getarray(a, &npoints, &fadevec))
error("%s: bad template for bin_ambi_reduced_decode", x->x_s_fade_out_hrir->s_name);
else if (npoints < x->x_fftsize)
error("%s: bad array-size: %d", x->x_s_fade_out_hrir->s_name, npoints);
@@ -714,19 +714,19 @@ static void bin_ambi_reduced_decode_check_arrays(t_bin_ambi_reduced_decode *x, f
if (!(a = (t_garray *)pd_findbyclass(hrtf_re, garray_class)))
error("%s: no such array", hrtf_re->s_name);
- else if (!garray_getfloatarray(a, &npoints, &vec_hrtf_re))
+ else if (!iemarray_getarray(a, &npoints, &vec_hrtf_re))
error("%s: bad template for bin_ambi_reduced_decode", hrtf_re->s_name);
else if (npoints < fftsize)
error("%s: bad array-size: %d", hrtf_re->s_name, npoints);
else if (!(a = (t_garray *)pd_findbyclass(hrtf_im, garray_class)))
error("%s: no such array", hrtf_im->s_name);
- else if (!garray_getfloatarray(a, &npoints, &vec_hrtf_im))
+ else if (!iemarray_getarray(a, &npoints, &vec_hrtf_im))
error("%s: bad template for bin_ambi_reduced_decode", hrtf_im->s_name);
else if (npoints < fftsize)
error("%s: bad array-size: %d", hrtf_im->s_name, npoints);
else if (!(a = (t_garray *)pd_findbyclass(hrir, garray_class)))
error("%s: no such array", hrir->s_name);
- else if (!garray_getfloatarray(a, &npoints, &vec_hrir))
+ else if (!iemarray_getarray(a, &npoints, &vec_hrir))
error("%s: bad template for bin_ambi_reduced_decode", hrir->s_name);
else
{