summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/dsp/resample.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/dsp/resample.c')
-rw-r--r--lib/rbcodec/dsp/resample.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/rbcodec/dsp/resample.c b/lib/rbcodec/dsp/resample.c
index 77e1c5e0e5..bec0de99f0 100644
--- a/lib/rbcodec/dsp/resample.c
+++ b/lib/rbcodec/dsp/resample.c
@@ -26,6 +26,7 @@
#include "fixedpoint.h"
#include "dsp_proc_entry.h"
#include "dsp_misc.h"
+#include "resample.h"
#include <string.h>
/**
@@ -262,7 +263,7 @@ static intptr_t resample_new_format(struct dsp_proc_entry *this,
return PROC_NEW_FORMAT_DEACTIVATED;
}
-static void resample_dsp_init(struct dsp_config *dsp, unsigned int dsp_id)
+void dsp_resample_init(struct dsp_config *dsp, unsigned int dsp_id)
{
int32_t *lbuf, *rbuf;
@@ -310,10 +311,6 @@ static intptr_t resample_configure(struct dsp_proc_entry *this,
switch (setting)
{
- case DSP_INIT:
- resample_dsp_init(dsp, value);
- break;
-
case DSP_FLUSH:
resample_flush(this);
break;