Skip to content

Commit

Permalink
fir debug
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarecki committed Sep 13, 2024
1 parent a70e60c commit d9a8a78
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions src/audio/eq_fir/eq_fir.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,15 @@ static int eq_fir_free(struct processing_module *mod)
{
struct comp_data *cd = module_get_private_data(mod);

comp_dbg(mod->dev, "eq_fir_free()");
comp_info(mod->dev, "eq_fir_free() %d", __LINE__);

eq_fir_free_delaylines(cd);
comp_info(mod->dev, "eq_fir_free() %d", __LINE__);
comp_data_blob_handler_free(cd->model_handler);
comp_info(mod->dev, "eq_fir_free() %d", __LINE__);

rfree(cd);
comp_info(mod->dev, "eq_fir_free() %d", __LINE__);

return 0;
}
Expand Down Expand Up @@ -456,7 +459,7 @@ static int eq_fir_reset(struct processing_module *mod)
int i;
struct comp_data *cd = module_get_private_data(mod);

comp_dbg(mod->dev, "eq_fir_reset()");
comp_info(mod->dev, "eq_fir_reset()");

comp_data_blob_set_validator(cd->model_handler, NULL);

Expand All @@ -481,22 +484,3 @@ static const struct module_interface eq_fir_interface = {

DECLARE_MODULE_ADAPTER(eq_fir_interface, eq_fir_uuid, eq_fir_tr);
SOF_MODULE_INIT(eq_fir, sys_comp_module_eq_fir_interface_init);

#if CONFIG_COMP_FIR_MODULE
/* modular: llext dynamic link */

#include <module/module/api_ver.h>
#include <module/module/llext.h>
#include <rimage/sof/user/manifest.h>

#define UUID_EQFIR 0xe7, 0x0c, 0xa9, 0x43, 0xa5, 0xf3, 0xdf, 0x41, \
0xac, 0x06, 0xba, 0x98, 0x65, 0x1a, 0xe6, 0xa3

SOF_LLEXT_MOD_ENTRY(eq_fir, &eq_fir_interface);

static const struct sof_man_module_manifest mod_manifest __section(".module") __used =
SOF_LLEXT_MODULE_MANIFEST("EQFIR", eq_fir_llext_entry, 1, UUID_EQFIR, 40);

SOF_LLEXT_BUILDINFO;

#endif

0 comments on commit d9a8a78

Please sign in to comment.