diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index b26ed2c..15eef37 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -55,12 +55,12 @@ BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := default # HIDL DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml -DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \ +DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += \ hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \ hardware/xiaomi/vintf/xiaomi_framework_compatibility_matrix.xml \ vendor/lineage/config/device_framework_matrix.xml -DEVICE_MANIFEST_FILE := \ +DEVICE_MANIFEST_FILE += \ $(COMMON_PATH)/hidl/manifest_lahaina.xml \ $(COMMON_PATH)/hidl/manifest_xiaomi.xml diff --git a/audio/audio_effects.xml b/audio/audio_effects.xml index add0925..47470d9 100644 --- a/audio/audio_effects.xml +++ b/audio/audio_effects.xml @@ -41,6 +41,13 @@ + + + + + + + @@ -89,22 +96,26 @@ + + + + + + + + + - - - - - diff --git a/audio/audio_io_policy.conf b/audio/audio_io_policy.conf index 05bf1dd..6776cb3 100644 --- a/audio/audio_io_policy.conf +++ b/audio/audio_io_policy.conf @@ -76,7 +76,7 @@ outputs { } compress_passthrough { flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH - formats AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD + formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_E_AC3_JOC|AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800 bit_width 16 app_type 69941 diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index 8a80d01..285e9fd 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -181,6 +181,15 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + + + diff --git a/rootdir/etc/init.target.rc b/rootdir/etc/init.target.rc index 5788559..0658e64 100644 --- a/rootdir/etc/init.target.rc +++ b/rootdir/etc/init.target.rc @@ -116,6 +116,10 @@ on post-fs-data on early-boot # Enable WLAN cold boot calibration write /sys/devices/platform/soc/b0000000.qcom,cnss-qca6490/fs_ready 1 + + # Dolby + mkdir /data/vendor/dolby 0770 media media + mkdir /data/vendor/multimedia 0775 system system start vendor.sensors diff --git a/vendor.prop b/vendor.prop index 253b86d..f5a864e 100644 --- a/vendor.prop +++ b/vendor.prop @@ -47,8 +47,6 @@ ro.vendor.audio.soundtrigger.xiaomievent=1 ro.vendor.audio.soundtrigger=sva ro.vendor.audio.us.proximity=true vendor.audio.adm.buffering.ms=6 -vendor.audio.dolby.ds2.enabled=false -vendor.audio.dolby.ds2.hardbypass=false vendor.audio.enable.mirrorlink=false vendor.audio.feature.a2dp_offload.enable=true vendor.audio.feature.afe_proxy.enable=true