aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Stefani <luca020400@lineageos.org>2017-08-22 22:07:43 +0200
committerdd3boh <dade.garberi@gmail.com>2017-09-07 18:01:57 +0200
commit4e2545bbb8977a4502b2e176b2c81b135f2c07ab (patch)
tree8fd0c84d147c260968c62da3187903b3f692c2d8
parent7922700448dfe93105a2a12d25bb08f64a132aa3 (diff)
z2_plus: Update audio for O
* Build audio HIDL HALs * Remove dead packages * Update audio flags for AOSP HAL Change-Id: Ide624d3008739b68a1b4cac347237e72cd4b4b20 Signed-off-by: dd3boh <dade.garberi@gmail.com>
-rw-r--r--BoardConfig.mk24
-rwxr-xr-xdevice.mk9
2 files changed, 9 insertions, 24 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c156d6b..9c142a4 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -88,28 +88,10 @@ BOARD_USES_QCOM_HARDWARE := true
PREBUILT_WEBVIEW_VERSION := chromium
# Audio
-AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true
-AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true
-AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true
-AUDIO_FEATURE_ENABLED_ANC_HEADSET := true
-AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true
-AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true
-AUDIO_FEATURE_ENABLED_DEV_ARBI := true
-AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true
-AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true
-AUDIO_FEATURE_ENABLED_FLUENCE := true
-AUDIO_FEATURE_ENABLED_HFP := true
-AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true
-AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true
-AUDIO_FEATURE_ENABLED_NT_PAUSE_TIMEOUT := true
-AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true
-AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true
-AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
-AUDIO_FEATURE_ENABLED_SPKR_PROTECTION := true
-BOARD_SUPPORTS_SOUND_TRIGGER := true
+AUDIO_FEATURE_ENABLED_SND_MONITOR := true
BOARD_USES_ALSA_AUDIO := true
-USE_CUSTOM_AUDIO_POLICY := 1
-USE_XML_AUDIO_POLICY_CONF := 1
+BOARD_USES_GENERIC_AUDIO := true
+TARGET_USES_QCOM_MM_AUDIO := true
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(PLATFORM_PATH)/bluetooth
diff --git a/device.mk b/device.mk
index 4f58aba..e133bb2 100755
--- a/device.mk
+++ b/device.mk
@@ -77,7 +77,10 @@ PRODUCT_CHARACTERISTICS := nosdcard
# Audio
PRODUCT_PACKAGES += \
- audiod \
+ 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 \
audio.a2dp.default \
audio.primary.msm8996 \
audio.r_submix.default \
@@ -87,8 +90,8 @@ PRODUCT_PACKAGES += \
libqcompostprocbundle \
libqcomvisualizer \
libqcomvoiceprocessing \
- libvolumelistener \
- tinymix
+ libqcomvoiceprocessingdescriptors \
+ libqcompostprocbundle
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \