File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717#include <user/smart_amp.h>
1818#include <sof/audio/ipc-config.h>
1919#include <sof/audio/smart_amp/smart_amp.h>
20+ #include <sof/lib/uuid.h>
2021
2122static const struct comp_driver comp_smart_amp ;
2223
@@ -29,12 +30,15 @@ SOF_DEFINE_REG_UUID(maxim_dsm);
2930
3031#else /* Passthrough */
3132SOF_DEFINE_REG_UUID (passthru_smart_amp );
32- #define UUID_SYM passthru_smart_amp
33+ #define UUID_SYM passthru_smart_amp_uuid
3334
3435#endif
36+
3537DECLARE_TR_CTX (smart_amp_comp_tr , SOF_UUID (UUID_SYM ),
3638 LOG_LEVEL_INFO );
3739
40+ LOG_MODULE_REGISTER (smart_amp , CONFIG_SOF_LOG_LEVEL );
41+
3842/* Amp configuration & model calibration data for tuning/debug */
3943#define SOF_SMART_AMP_CONFIG 0
4044#define SOF_SMART_AMP_MODEL 1
Original file line number Diff line number Diff line change 2020#include <sof/audio/smart_amp/smart_amp.h>
2121#include "dsm_api_public.h"
2222
23+ LOG_MODULE_DECLARE (smart_amp , CONFIG_SOF_LOG_LEVEL );
24+
2325/* Maxim DSM(Dynamic Speaker Management) process buffer size */
2426#define DSM_FRM_SZ 48
2527#define DSM_FF_BUF_SZ (DSM_FRM_SZ * SMART_AMP_FF_MAX_CH_NUM)
Original file line number Diff line number Diff line change 1010
1111#include <sof/trace/trace.h>
1212#include <user/trace.h>
13- #include <sof/bit.h>
1413#include <sof/common.h>
1514#include <stdint.h>
1615#include <stdlib.h>
1716#include <sof/audio/smart_amp/smart_amp.h>
1817
18+ LOG_MODULE_DECLARE (smart_amp , CONFIG_SOF_LOG_LEVEL );
19+
1920/* self-declared inner model data struct */
2021struct passthru_mod_data {
2122 struct smart_amp_mod_data_base base ;
You can’t perform that action at this time.
0 commit comments