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: Xiaojun Sang <xsang@codeaurora.org>
Cette révision appartient à :

révisé par
Gerrit - the friendly Code Review server

Parent
8b1366a648
révision
b5321975e7
@@ -108,6 +108,7 @@ enum {
|
|||||||
#define AFE_SIDETONE_IIR_CAL_TYPE AFE_SIDETONE_IIR_CAL_TYPE
|
#define AFE_SIDETONE_IIR_CAL_TYPE AFE_SIDETONE_IIR_CAL_TYPE
|
||||||
|
|
||||||
#define TOPOLOGY_SPECIFIC_CHANNEL_INFO
|
#define TOPOLOGY_SPECIFIC_CHANNEL_INFO
|
||||||
|
#define MSM_SPKR_PROT_SPV3
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
VERSION_0_0,
|
VERSION_0_0,
|
||||||
@@ -301,6 +302,10 @@ struct audio_cal_info_spk_prot_cfg {
|
|||||||
* 1 - Start calib
|
* 1 - Start calib
|
||||||
* 2 - Disable spk prot
|
* 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 {
|
struct audio_cal_info_sp_th_vi_ftm_cfg {
|
||||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur