diff options
Diffstat (limited to 'lib/rbcodec/dsp/resample.c')
-rw-r--r-- | lib/rbcodec/dsp/resample.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/rbcodec/dsp/resample.c b/lib/rbcodec/dsp/resample.c index a583f60a55..77e1c5e0e5 100644 --- a/lib/rbcodec/dsp/resample.c +++ b/lib/rbcodec/dsp/resample.c | |||
@@ -262,8 +262,7 @@ static intptr_t resample_new_format(struct dsp_proc_entry *this, | |||
262 | return PROC_NEW_FORMAT_DEACTIVATED; | 262 | return PROC_NEW_FORMAT_DEACTIVATED; |
263 | } | 263 | } |
264 | 264 | ||
265 | static void resample_dsp_init(struct dsp_config *dsp, | 265 | static void resample_dsp_init(struct dsp_config *dsp, unsigned int dsp_id) |
266 | enum dsp_ids dsp_id) | ||
267 | { | 266 | { |
268 | int32_t *lbuf, *rbuf; | 267 | int32_t *lbuf, *rbuf; |
269 | 268 | ||
@@ -280,7 +279,7 @@ static void resample_dsp_init(struct dsp_config *dsp, | |||
280 | 279 | ||
281 | default: | 280 | default: |
282 | /* huh? */ | 281 | /* huh? */ |
283 | DEBUGF("DSP_PROC_RESAMPLE- unknown DSP %d\n", (int)dsp_id); | 282 | DEBUGF("DSP_PROC_RESAMPLE- unknown DSP %u\n", dsp_id); |
284 | return; | 283 | return; |
285 | } | 284 | } |
286 | 285 | ||
@@ -312,7 +311,7 @@ static intptr_t resample_configure(struct dsp_proc_entry *this, | |||
312 | switch (setting) | 311 | switch (setting) |
313 | { | 312 | { |
314 | case DSP_INIT: | 313 | case DSP_INIT: |
315 | resample_dsp_init(dsp, (enum dsp_ids)value); | 314 | resample_dsp_init(dsp, value); |
316 | break; | 315 | break; |
317 | 316 | ||
318 | case DSP_FLUSH: | 317 | case DSP_FLUSH: |