aboutsummaryrefslogtreecommitdiff
path: root/src/bin_ambi_reduced_decode_fft2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin_ambi_reduced_decode_fft2.c')
-rw-r--r--src/bin_ambi_reduced_decode_fft2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin_ambi_reduced_decode_fft2.c b/src/bin_ambi_reduced_decode_fft2.c
index 30a7e8a..eb565d5 100644
--- a/src/bin_ambi_reduced_decode_fft2.c
+++ b/src/bin_ambi_reduced_decode_fft2.c
@@ -654,7 +654,7 @@ static void bin_ambi_reduced_decode_fft2_calc_pinv(t_bin_ambi_reduced_decode_fft
{
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_fft2", 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);
@@ -756,7 +756,7 @@ static void bin_ambi_reduced_decode_fft2_check_HRIR_arrays(t_bin_ambi_reduced_de
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_decode_fft2", hrir->s_name);
else
{
@@ -810,13 +810,13 @@ static void bin_ambi_reduced_decode_fft2_check_HRTF_arrays(t_bin_ambi_reduced_de
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_fft2", 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_fft2", hrtf_im->s_name);
else if (npoints < fftsize)
error("%s: bad array-size: %d", hrtf_im->s_name, npoints);