sdm660-common: audio: Add standalone Dirac support

This commit is contained in:
etahamad 2021-02-25 19:01:10 +02:00 committed by OdSazib
parent 5d3d10b559
commit f6c011d64d
No known key found for this signature in database
GPG key ID: B678DBD07079B021
3 changed files with 11 additions and 0 deletions

View file

@ -16,5 +16,11 @@
"repository" : "xiaomi-sdm660/android_vendor_xiaomi_MiuiCamera",
"target_path" : "vendor/xiaomi/MiuiCamera",
"branch" : "sdm660"
},
{
"remote" : "github",
"repository" : "xiaomi-sdm660/vendor_xiaomi_dirac",
"target_path" : "vendor/xiaomi/dirac",
"branch" : "11"
}
]

View file

@ -17,6 +17,7 @@
<library name="volume_listener" path="libvolumelistener.so"/>
<library name="audiosphere" path="libasphere.so"/>
<library name="misoundfx" path="libmisoundfx.so"/>
<library name="dirac" path="libdirac.so"/>
</libraries>
<effects>
<effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b">
@ -64,6 +65,7 @@
<effect name="notification_helper" library="volume_listener" uuid="0b776dde-0590-11e5-81ba-0025b32654a0"/>
<effect name="audiosphere" library="audiosphere" uuid="184e62ab-2d19-4364-9d1b-c0a40733866c"/>
<effect name="misoundfx" library="misoundfx" uuid="5b8e36a5-144a-4c38-b1d7-0002a5d5c51b"/>
<effect name="dirac" library="dirac" uuid="e069d9e0-8329-11df-9168-0002a5d5c51b"/>
</effects>
<postprocess>
<stream type="music">

View file

@ -41,6 +41,9 @@ endif
$(call inherit-product, vendor/xiaomi/sdm660-common/sdm660-common-vendor.mk)
$(call inherit-product-if-exists, vendor/xiaomi/MiuiCamera/config.mk)
# Inherit Dirac
$(call inherit-product-if-exists, vendor/xiaomi/dirac/dirac.mk)
# Common Tree Path
COMMON_PATH := device/xiaomi/sdm660-common