post_proc: Update acdb_audio_cal_cfg structure to support Instance ID
Update acdb_audio_cal_cfg structure to support Instance ID feature in bass module. CRs-Fixed: 2199639 Change-Id: If9df8b4fddbc87a21ed7a526ad10b4e1b073a53c
This commit is contained in:
parent
98c1d2f206
commit
d3f6922ce5
|
@ -110,6 +110,10 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DTS_EAGLE)), true)
|
|||
LOCAL_CFLAGS += -DHW_ACC_HPX
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_INSTANCE_ID)), true)
|
||||
LOCAL_CFLAGS += -DINSTANCE_ID_ENABLED
|
||||
endif
|
||||
|
||||
LOCAL_MODULE:= libhwacceffectswrapper
|
||||
LOCAL_VENDOR_MODULE := true
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2015, 2017, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2015, 2017-2018, The Linux Foundation. All rights reserved.
|
||||
* Not a Contribution.
|
||||
*
|
||||
* Copyright (C) 2013 The Android Open Source Project
|
||||
|
@ -63,6 +63,10 @@ typedef struct acdb_audio_cal_cfg {
|
|||
uint32_t sampling_rate;
|
||||
uint32_t cal_type;
|
||||
uint32_t module_id;
|
||||
#ifdef INSTANCE_ID_ENABLED
|
||||
uint16_t instance_id;
|
||||
uint16_t reserved;
|
||||
#endif
|
||||
uint32_t param_id;
|
||||
} acdb_audio_cal_cfg_t;
|
||||
|
||||
|
|
Loading…
Reference in New Issue