diff options
Diffstat (limited to 'lib/rbcodec/dsp/resample.c')
-rw-r--r-- | lib/rbcodec/dsp/resample.c | 7 |
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 @@ | |||
26 | #include "fixedpoint.h" | 26 | #include "fixedpoint.h" |
27 | #include "dsp_proc_entry.h" | 27 | #include "dsp_proc_entry.h" |
28 | #include "dsp_misc.h" | 28 | #include "dsp_misc.h" |
29 | #include "resample.h" | ||
29 | #include <string.h> | 30 | #include <string.h> |
30 | 31 | ||
31 | /** | 32 | /** |
@@ -262,7 +263,7 @@ static intptr_t resample_new_format(struct dsp_proc_entry *this, | |||
262 | return PROC_NEW_FORMAT_DEACTIVATED; | 263 | return PROC_NEW_FORMAT_DEACTIVATED; |
263 | } | 264 | } |
264 | 265 | ||
265 | static void resample_dsp_init(struct dsp_config *dsp, unsigned int dsp_id) | 266 | void dsp_resample_init(struct dsp_config *dsp, unsigned int dsp_id) |
266 | { | 267 | { |
267 | int32_t *lbuf, *rbuf; | 268 | int32_t *lbuf, *rbuf; |
268 | 269 | ||
@@ -310,10 +311,6 @@ static intptr_t resample_configure(struct dsp_proc_entry *this, | |||
310 | 311 | ||
311 | switch (setting) | 312 | switch (setting) |
312 | { | 313 | { |
313 | case DSP_INIT: | ||
314 | resample_dsp_init(dsp, value); | ||
315 | break; | ||
316 | |||
317 | case DSP_FLUSH: | 314 | case DSP_FLUSH: |
318 | resample_flush(this); | 315 | resample_flush(this); |
319 | break; | 316 | break; |