From 80b69dac8bbdea731eb17bfabc8daae0f42c927b Mon Sep 17 00:00:00 2001 From: jhenrique09 Date: Sun, 12 Nov 2017 01:05:28 -0200 Subject: [PATCH] sanders: Remove soundtrigger and DS2_DOLBY_DAP potter doesn't have on stock rom 11-12 00:57:45.084 791 791 E soundtrigger: audio_extn_sound_trigger_init: DLOPEN failed for /vendor/lib/hw/sound_trigger.primary.msm8953.so. error = dlopen failed: library "/vendor/lib/hw/sound_trigger.primary.msm8953.so" not found 11-12 00:57:45.075 791 791 E audio_hw_dolby: audio_extn_dap_hal_init: DLOPEN failed for vendor/lib/libhwdaphal.so error dlopen failed: library "vendor/lib/libhwdaphal.so" not found --- BoardConfig.mk | 2 -- device.mk | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index ee2f389..4ca6554 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -71,7 +71,6 @@ AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true AUDIO_FEATURE_ENABLED_ANC_HEADSET := true AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true AUDIO_FEATURE_ENABLED_DEV_ARBI := true -AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := true AUDIO_FEATURE_ENABLED_EXT_HDMI := true AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER := true AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true @@ -89,7 +88,6 @@ AUDIO_FEATURE_ENABLED_SSR := true AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true -BOARD_SUPPORTS_SOUND_TRIGGER := true AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true AUDIO_FEATURE_ENABLED_SND_MONITOR := true BOARD_USES_ALSA_AUDIO := true diff --git a/device.mk b/device.mk index ed5f0a6..5518457 100644 --- a/device.mk +++ b/device.mk @@ -75,8 +75,7 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ android.hardware.audio@2.0-impl \ android.hardware.audio.effect@2.0-impl \ - android.hardware.broadcastradio@1.0-impl \ - android.hardware.soundtrigger@2.0-impl + android.hardware.broadcastradio@1.0-impl PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \