summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/resample.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/dsp/resample.c')
-rw-r--r--lib/rbcodec/dsp/resample.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rbcodec/dsp/resample.c b/lib/rbcodec/dsp/resample.c
index 0a97bdf70c..a583f60a55 100644
--- a/lib/rbcodec/dsp/resample.c
+++ b/lib/rbcodec/dsp/resample.c
@@ -262,8 +262,8 @@ 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
265static void INIT_ATTR resample_dsp_init(struct dsp_config *dsp, 265static void resample_dsp_init(struct dsp_config *dsp,
266 enum dsp_ids dsp_id) 266 enum dsp_ids dsp_id)
267{ 267{
268 int32_t *lbuf, *rbuf; 268 int32_t *lbuf, *rbuf;
269 269
@@ -291,8 +291,8 @@ static void INIT_ATTR resample_dsp_init(struct dsp_config *dsp,
291 resample_data[dsp_id].resample_out_p[1] = rbuf; 291 resample_data[dsp_id].resample_out_p[1] = rbuf;
292} 292}
293 293
294static void INIT_ATTR resample_proc_init(struct dsp_proc_entry *this, 294static void resample_proc_init(struct dsp_proc_entry *this,
295 struct dsp_config *dsp) 295 struct dsp_config *dsp)
296{ 296{
297 struct resample_data *data = &resample_data[dsp_get_id(dsp)]; 297 struct resample_data *data = &resample_data[dsp_get_id(dsp)];
298 this->data = (intptr_t)data; 298 this->data = (intptr_t)data;