mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-01-27 15:59:12 +00:00
taimen: enable aaudio MMAP mode
This will allow AAudio to route audio data through a new service that uses ALSA MMAP/NOIRQ mode. Bug: 63002656 Test: reboot, then "adb shell getprop aaudio.mmap_policy" should be 2 Change-Id: Id2f692ac9350e4c308f17d86ee8d5cbb858bb565
This commit is contained in:
@@ -73,6 +73,12 @@ PRODUCT_PROPERTY_OVERRIDES += af.fast_track_multiplier=1
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml
|
||||
|
||||
# Enable AAudio MMAP/NOIRQ data path.
|
||||
# 2 is AAUDIO_POLICY_AUTO so it will try MMAP then fallback to Legacy path.
|
||||
PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_policy=2
|
||||
# Allow EXCLUSIVE then fall back to SHARED.
|
||||
PRODUCT_PROPERTY_OVERRIDES += aaudio.mmap_exclusive_policy=2
|
||||
|
||||
# Wifi configuration file
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/taimen/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini
|
||||
|
||||
Reference in New Issue
Block a user