summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/dsp/tdspeed.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/dsp/tdspeed.c')
-rw-r--r--lib/rbcodec/dsp/tdspeed.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rbcodec/dsp/tdspeed.c b/lib/rbcodec/dsp/tdspeed.c
index 7a9d818f19..88d057560c 100644
--- a/lib/rbcodec/dsp/tdspeed.c
+++ b/lib/rbcodec/dsp/tdspeed.c
@@ -521,8 +521,7 @@ static intptr_t tdspeed_new_format(struct dsp_proc_entry *this,
(void)this;
}
-static void tdspeed_dsp_init(struct tdspeed_state_s *st,
- enum dsp_ids dsp_id)
+static void tdspeed_dsp_init(struct tdspeed_state_s *st, unsigned int dsp_id)
{
/* everything is at 100% until dsp_set_timestretch is called with
some other value and timestretch is enabled at the time */
@@ -543,7 +542,7 @@ static intptr_t tdspeed_configure(struct dsp_proc_entry *this,
switch (setting)
{
case DSP_INIT:
- tdspeed_dsp_init(st, (enum dsp_ids)value);
+ tdspeed_dsp_init(st, value);
break;
case DSP_FLUSH: