summaryrefslogtreecommitdiffstats
path: root/libaf/af_surround.c
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/af_surround.c')
-rw-r--r--libaf/af_surround.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaf/af_surround.c b/libaf/af_surround.c
index e00c23f727..76b1b318e6 100644
--- a/libaf/af_surround.c
+++ b/libaf/af_surround.c
@@ -102,7 +102,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
}
// Surround filer coefficients
fc = 2.0 * 7000.0/(float)af->data->rate;
- if (-1 == design_fir(L, s->w, &fc, LP|HAMMING, 0)){
+ if (-1 == af_filter_design_fir(L, s->w, &fc, LP|HAMMING, 0)){
af_msg(AF_MSG_ERROR,"[surround] Unable to design low-pass filter.\n");
return AF_ERROR;
}