mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-30 15:01:47 +00:00
muskie: 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: Iad70089126e8ea7a9624e91849d453dc7c6ee337
This commit is contained in:
@@ -27,10 +27,17 @@ PRODUCT_PROPERTY_OVERRIDES += audio.adm.buffering.ms=3
|
||||
PRODUCT_PROPERTY_OVERRIDES += audio_hal.period_multiplier=2
|
||||
PRODUCT_PROPERTY_OVERRIDES += af.fast_track_multiplier=1
|
||||
|
||||
|
||||
# Pro audio feature
|
||||
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
|
||||
|
||||
# Enable SM log mechanism by default
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
|
||||
Reference in New Issue
Block a user