Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5321975 authored by Xiaojun Sang's avatar Xiaojun Sang Committed by Gerrit - the friendly Code Review server
Browse files

uapi: extend struct of spk prot for ADSP SPv3



To support speaker protection v3, add sp version and
limiter threshold in spk_prot_cfg struct.

Change-Id: Ia4c89934e00bfa8c0e0c6823f48d56baf6759f14
Signed-off-by: default avatarXiaojun Sang <xsang@codeaurora.org>
parent 8b1366a6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ enum {
#define AFE_SIDETONE_IIR_CAL_TYPE AFE_SIDETONE_IIR_CAL_TYPE

#define TOPOLOGY_SPECIFIC_CHANNEL_INFO
#define MSM_SPKR_PROT_SPV3

enum {
	VERSION_0_0,
@@ -301,6 +302,10 @@ struct audio_cal_info_spk_prot_cfg {
	 * 1 - Start calib
	 * 2 - Disable spk prot
	 */
#ifdef MSM_SPKR_PROT_SPV3
	uint32_t	sp_version;
	int32_t	limiter_th[SP_V2_NUM_MAX_SPKRS];
#endif
};

struct audio_cal_info_sp_th_vi_ftm_cfg {