aboutsummaryrefslogtreecommitdiff
path: root/src/bin_ambi_reduced_decode2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin_ambi_reduced_decode2.c')
-rw-r--r--src/bin_ambi_reduced_decode2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin_ambi_reduced_decode2.c b/src/bin_ambi_reduced_decode2.c
index f9c2907..ea176db 100644
--- a/src/bin_ambi_reduced_decode2.c
+++ b/src/bin_ambi_reduced_decode2.c
@@ -670,7 +670,7 @@ static void bin_ambi_reduced_decode2_calc_pinv(t_bin_ambi_reduced_decode2 *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_decode2", 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);
@@ -739,7 +739,7 @@ static void bin_ambi_reduced_decode2_check_HRIR_arrays(t_bin_ambi_reduced_decode
hrir = x->x_s_hrir[index];
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_decode2", hrir->s_name);
else
{
@@ -793,13 +793,13 @@ static void bin_ambi_reduced_decode2_check_HRTF_arrays(t_bin_ambi_reduced_decode
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_decode2", 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_decode2", hrtf_im->s_name);
else if (npoints < fftsize)
error("%s: bad array-size: %d", hrtf_im->s_name, npoints);