summaryrefslogtreecommitdiff
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,
521 (void)this; 521 (void)this;
522} 522}
523 523
524static void tdspeed_dsp_init(struct tdspeed_state_s *st, 524static void tdspeed_dsp_init(struct tdspeed_state_s *st, unsigned int dsp_id)
525 enum dsp_ids dsp_id)
526{ 525{
527 /* everything is at 100% until dsp_set_timestretch is called with 526 /* everything is at 100% until dsp_set_timestretch is called with
528 some other value and timestretch is enabled at the time */ 527 some other value and timestretch is enabled at the time */
@@ -543,7 +542,7 @@ static intptr_t tdspeed_configure(struct dsp_proc_entry *this,
543 switch (setting) 542 switch (setting)
544 { 543 {
545 case DSP_INIT: 544 case DSP_INIT:
546 tdspeed_dsp_init(st, (enum dsp_ids)value); 545 tdspeed_dsp_init(st, value);
547 break; 546 break;
548 547
549 case DSP_FLUSH: 548 case DSP_FLUSH: