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 <zhongcy95@gmail.com>
This commit is contained in:
dianlujitao 2021-04-26 20:39:23 +08:00 committed by Giammarco Senatore
parent dfda6c76d8
commit d1262f6f6d
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<hal format="hidl">
<name>android.hardware.audio</name>
<transport>hwbinder</transport>
<version>6.0</version>
<version>5.0</version>
<interface>
<name>IDevicesFactory</name>
<instance>default</instance>
@ -12,7 +12,7 @@
<hal format="hidl">
<name>android.hardware.audio.effect</name>
<transport>hwbinder</transport>
<version>6.0</version>
<version>5.0</version>
<interface>
<name>IEffectsFactory</name>
<instance>default</instance>

View file

@ -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 \