From d1262f6f6d71e7730ccf7e6213ad51c9db14f3b4 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Mon, 26 Apr 2021 20:39:23 +0800 Subject: [PATCH] Revert "sdm710-common: Switch to Audio HAL V6" All target devices use pre-R audio.bluetooth_qti.default.so and pre-R audio hal, in which the new set_event_callback API is not implemented and the audio service will crash due to mismatched struct. jjpprrrr: The audio flinger also warns about event callback when playing audio through a USB audio adapter with DAC. Let's go back to v5 to avoid calling these unimplemented features at all. ... D AudioFlinger: Failed to add event callback ... Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c Signed-off-by: Chenyang Zhong --- manifest.xml | 4 ++-- sdm710.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.xml b/manifest.xml index ee625eb..10e773d 100644 --- a/manifest.xml +++ b/manifest.xml @@ -2,7 +2,7 @@ android.hardware.audio hwbinder - 6.0 + 5.0 IDevicesFactory default @@ -12,7 +12,7 @@ android.hardware.audio.effect hwbinder - 6.0 + 5.0 IEffectsFactory default diff --git a/sdm710.mk b/sdm710.mk index aab92db..7a15216 100644 --- a/sdm710.mk +++ b/sdm710.mk @@ -67,8 +67,8 @@ PRODUCT_PACKAGES += \ # Audio PRODUCT_PACKAGES += \ - android.hardware.audio@6.0-impl:32 \ - android.hardware.audio.effect@6.0-impl:32 \ + android.hardware.audio@5.0-impl:32 \ + android.hardware.audio.effect@5.0-impl:32 \ android.hardware.audio.service \ android.hardware.soundtrigger@2.2-impl:32 \ audio.a2dp.default \