summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/dsp_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/dsp/dsp_core.c')
-rw-r--r--lib/rbcodec/dsp/dsp_core.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/rbcodec/dsp/dsp_core.c b/lib/rbcodec/dsp/dsp_core.c
index b0e9c8a304..5a08ce8e37 100644
--- a/lib/rbcodec/dsp/dsp_core.c
+++ b/lib/rbcodec/dsp/dsp_core.c
@@ -214,6 +214,13 @@ dsp_proc_enable_delink(struct dsp_config *dsp, uint32_t mask)
214 } 214 }
215} 215}
216 216
217static void dsp_empty_process(struct dsp_proc_entry *this, struct dsp_buffer **buf_p)
218{
219 (void)this;
220 (void)buf_p;
221 logf("%s", __func__);
222}
223
217void dsp_proc_enable(struct dsp_config *dsp, enum dsp_proc_ids id, 224void dsp_proc_enable(struct dsp_config *dsp, enum dsp_proc_ids id,
218 bool enable) 225 bool enable)
219{ 226{
@@ -236,7 +243,7 @@ void dsp_proc_enable(struct dsp_config *dsp, enum dsp_proc_ids id,
236 { 243 {
237 /* New entry - set defaults */ 244 /* New entry - set defaults */
238 s->proc_entry.data = 0; 245 s->proc_entry.data = 0;
239 s->proc_entry.process = NULL; 246 s->proc_entry.process = dsp_empty_process;
240 } 247 }
241 248
242 enabled = proc_db_entry(s)->configure(&s->proc_entry, dsp, 249 enabled = proc_db_entry(s)->configure(&s->proc_entry, dsp,