From 85f4dcb00f543dc00c1b59dafe213a3357c3ccfe Mon Sep 17 00:00:00 2001 From: madmax7896 Date: Sun, 10 Sep 2023 10:16:28 -0300 Subject: [PATCH] sweet: Import Dolby audio blobs Squashed with: commit 0a7aab81667f137c57fa95c4661fa7e43e0e2c1c Author: Pranav Vashi Date: Fri Aug 2 20:27:52 2024 +0530 sweet: Move dax-default to device tree Change-Id: Id2054bb5e61bcfe58706e32f44d37fe7524aa912 Signed-off-by: Pranav Vashi Change-Id: I2d466238525d074269377a82627a816527aefd74 Signed-off-by: Mesquita Signed-off-by: basamaryan Signed-off-by: donjohanliebert --- configs/audio/dax-default.xml | 1589 +++++++++++++++++++++++++++++++++ device.mk | 7 + proprietary-files.txt | 18 + 3 files changed, 1614 insertions(+) create mode 100644 configs/audio/dax-default.xml diff --git a/configs/audio/dax-default.xml b/configs/audio/dax-default.xml new file mode 100644 index 0000000..76162bc --- /dev/null +++ b/configs/audio/dax-default.xml @@ -0,0 +1,1589 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/device.mk b/device.mk index aa15ddd..2152cc3 100644 --- a/device.mk +++ b/device.mk @@ -19,6 +19,7 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \ + $(LOCAL_PATH)/configs/audio/dax-default.xml:$(TARGET_COPY_OUT_VENDOR)/etc/dolby/dax-default.xml \ $(LOCAL_PATH)/configs/audio/mixer_paths_idp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_idp.xml \ $(LOCAL_PATH)/configs/audio/mixer_paths_overlay_dynamic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_overlay_dynamic.xml \ $(LOCAL_PATH)/configs/audio/mixer_paths_overlay_static.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_overlay_static.xml \ @@ -43,6 +44,12 @@ TARGET_USES_DOLBY := true PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/rootdir/etc/init.sweet.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.sweet.rc +# Media +PRODUCT_PACKAGES += \ + libavservices_minijail_vendor \ + libcodec2_soft_common.vendor \ + libsfplugin_ccodec_utils.vendor + # NFC PRODUCT_PACKAGES += \ com.android.nfc_extras \ diff --git a/proprietary-files.txt b/proprietary-files.txt index ebad72a..4a1df5b 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -343,6 +343,24 @@ vendor/firmware/a615_zap.mdt vendor/firmware/a618_gmu.bin vendor/firmware/a630_sqe.fw +# Media (Dolby) +vendor/bin/hw/vendor.dolby.hardware.dms@2.0-service +vendor/etc/init/vendor.dolby.hardware.dms@2.0-service.rc +vendor/etc/media_codecs_dolby_audio.xml +vendor/etc/vintf/manifest/manifest_vendor.dolby.hardware.dms.xml +vendor/lib/libdapparamstorage.so +vendor/lib/libdeccfg.so +vendor/lib/libstagefright_soft_ac4dec.so +vendor/lib/libstagefright_soft_ddpdec.so +vendor/lib/soundfx/libhwdap.so +vendor/lib/soundfx/libswgamedap.so +vendor/lib/soundfx/libswvqe.so +vendor/lib/vendor.dolby.hardware.dms@2.0.so +vendor/lib64/libdapparamstorage.so +vendor/lib64/libdlbdsservice.so +vendor/lib64/vendor.dolby.hardware.dms@2.0-impl.so +vendor/lib64/vendor.dolby.hardware.dms@2.0.so + # NFC vendor/etc/libnfc-nci.conf vendor/etc/libnfc-nxp.conf