diff options
author | Jake Weinstein <jake@aospa.co> | 2023-10-31 07:06:26 +0900 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2023-12-27 00:35:28 +0800 |
commit | 000d02adc03b4c6ed29c579a1d48575e974e411a (patch) | |
tree | cebbe2371ae132b96c512466c49d67b7bb55c991 | |
parent | 2fb09e8ab023bbd39f57f1366ba27282347e13bc (diff) |
common: audio: Disable loop on compress read for targets < 5.10
This change isn't ready for older audio HALs and
breaks compress audio record, such as in WhatsApp.
Change-Id: I84c8427210f265964d8fdb1818d5b4dcd2abe56a
-rw-r--r-- | audio/qti-audio.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/qti-audio.mk b/audio/qti-audio.mk index 21d2b98..cc3eca4 100644 --- a/audio/qti-audio.mk +++ b/audio/qti-audio.mk @@ -29,6 +29,11 @@ TARGET_USES_RRO := true AUDIO_FEATURE_ENABLED_DYNAMIC_LOG := false BOARD_SUPPORTS_OPENSOURCE_STHAL := false +# Flags for <5.10 targets +ifneq (,$(filter 3.18 4.4 4.9 4.14 4.19 5.4, $(TARGET_KERNEL_VERSION))) +TARGET_LOOP_COMPRESS_READ := true +endif + # OMX Packages PRODUCT_PACKAGES += \ libOmxAacEnc \ |