From c3b2cd114d9b4972c115af615c239080ab090634 Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Mon, 12 Sep 2022 20:23:18 +0100 Subject: [PATCH] rosemary: Switch to OSS audio HAL service Prebuilt audio HAL depends on a lot of VNDK 30 dependencies, using it as is requires a lot of hacks. Switching to OSS HAL does not require hexediting any prebuilt blobs and their depdendencies. Signed-off-by: Vaisakh Murali Change-Id: Icd8c06be75b42749df8d713becab29e9e7216a7c --- device.mk | 3 +++ proprietary-files.txt | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device.mk b/device.mk index 1feb320..f3ef0fa 100644 --- a/device.mk +++ b/device.mk @@ -12,6 +12,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk) # Audio PRODUCT_PACKAGES += \ + android.hardware.audio.service \ + android.hardware.audio@6.0-impl \ + android.hardware.audio.effect@6.0-impl \ android.hardware.bluetooth.audio@2.0-impl PRODUCT_PACKAGES += \ diff --git a/proprietary-files.txt b/proprietary-files.txt index 64dce95..463c7ea 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -28,13 +28,10 @@ vendor/lib64/vendor.mediatek.hardware.apuware.utils@1.0.so vendor/lib64/vendor.mediatek.hardware.apuware.xrp@1.0.so # Audio -vendor/bin/hw/android.hardware.audio.service.mediatek vendor/bin/audiocmdservice_atci -vendor/etc/init/android.hardware.audio.service.mediatek.rc vendor/etc/init/audiocmdservice_atci.rc vendor/etc/smartpa_param/AW_DSP.bin vendor/etc/FV-SAM-MTK2.dat -vendor/lib/hw/android.hardware.audio@6.0-impl-mediatek.so vendor/lib/hw/audio.primary.mt6785.so vendor/lib/hw/audio.r_submix.mt6785.so vendor/lib/hw/audio.usb.mt6785.so