summaryrefslogtreecommitdiffstats
path: root/libaf/af_resample.c
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/af_resample.c')
-rw-r--r--libaf/af_resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libaf/af_resample.c b/libaf/af_resample.c
index 00d06fa8ec..4611d103da 100644
--- a/libaf/af_resample.c
+++ b/libaf/af_resample.c
@@ -245,7 +245,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg)
// Design prototype filter type using Kaiser window with beta = 10
if(NULL == w || NULL == s->w ||
- -1 == design_fir(s->up*L, w, &fc, LP|KAISER , 10.0)){
+ -1 == af_filter_design_fir(s->up*L, w, &fc, LP|KAISER , 10.0)){
af_msg(AF_MSG_ERROR,"[resample] Unable to design prototype filter.\n");
return AF_ERROR;
}