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:
parent
dfda6c76d8
commit
d1262f6f6d
2 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue