diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 9407255..887fec1 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -87,7 +87,8 @@ AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true BOARD_USES_ALSA_AUDIO := true -USE_CUSTOM_AUDIO_POLICY := 1 +BOARD_USES_GENERIC_AUDIO := true +TARGET_USES_QCOM_MM_AUDIO := true USE_XML_AUDIO_POLICY_CONF := 1 # Bluetooth diff --git a/msm8976.mk b/msm8976.mk index 2370961..79a5ac1 100644 --- a/msm8976.mk +++ b/msm8976.mk @@ -70,18 +70,23 @@ PRODUCT_COPY_FILES += \ # Audio PRODUCT_PACKAGES += \ - audiod \ - audio.a2dp.default \ audio.primary.msm8952 \ audio.r_submix.default \ + audio.a2dp.default \ audio.usb.default \ + audio.r_submix.default + +PRODUCT_PACKAGES += \ libaudio-resampler \ libaudioroute \ libqcompostprocbundle \ libqcomvisualizer \ - libqcomvoiceprocessing \ libtinycompress \ - tinymix + +PRODUCT_PACKAGES += \ + android.hardware.audio@2.0-impl \ + android.hardware.audio.effect@2.0-impl \ + android.hardware.broadcastradio@1.0-impl PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt \