Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cadence: unification of cadence module naming #9287

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/audio/module_adapter/module/cadence.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#include <ipc/compress_params.h>
#include <rtos/init.h>

LOG_MODULE_REGISTER(cadence, CONFIG_SOF_LOG_LEVEL);
LOG_MODULE_REGISTER(cadence_codec, CONFIG_SOF_LOG_LEVEL);

SOF_DEFINE_REG_UUID(cadence_codec);

DECLARE_TR_CTX(cadence_tr, SOF_UUID(cadence_uuid), LOG_LEVEL_INFO);
DECLARE_TR_CTX(cadence_codec_tr, SOF_UUID(cadence_codec_uuid), LOG_LEVEL_INFO);

enum cadence_api_id {
CADENCE_CODEC_WRAPPER_ID = 0x01,
Expand Down Expand Up @@ -909,7 +909,7 @@ cadence_codec_set_configuration(struct processing_module *mod, uint32_t config_i
return 0;
}

static const struct module_interface cadence_interface = {
static const struct module_interface cadence_codec_interface = {
.init = cadence_codec_init,
.prepare = cadence_codec_prepare,
.process_raw_data = cadence_codec_process,
Expand All @@ -918,5 +918,5 @@ static const struct module_interface cadence_interface = {
.free = cadence_codec_free
};

DECLARE_MODULE_ADAPTER(cadence_interface, cadence_uuid, cadence_tr);
SOF_MODULE_INIT(cadence, sys_comp_module_cadence_interface_init);
DECLARE_MODULE_ADAPTER(cadence_codec_interface, cadence_codec_uuid, cadence_codec_tr);
SOF_MODULE_INIT(cadence_codec, sys_comp_module_cadence_codec_interface_init);