diff --git a/BoardConfig.mk b/BoardConfig.mk index 9960e82..de082a5 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -74,35 +74,57 @@ TARGET_KERNEL_CLANG_VERSION := 7.0.2 TARGET_USE_SDCLANG := true # Audio -AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true -AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true -AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true -AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true -AUDIO_FEATURE_ENABLED_ANC_HEADSET := true -AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true -AUDIO_FEATURE_ENABLED_DEV_ARBI := true -AUDIO_FEATURE_ENABLED_EXT_HDMI := true -AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER := true -AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true -AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true -AUDIO_FEATURE_ENABLED_FLUENCE := true -AUDIO_FEATURE_ENABLED_HFP := true -AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true -AUDIO_FEATURE_ENABLED_HIFI_AUDIO := true -AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true -AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true -AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true -AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true -AUDIO_FEATURE_ENABLED_SOURCE_TRACKING := true -AUDIO_FEATURE_ENABLED_SSR := true -AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true -AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true -AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true -AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true -AUDIO_FEATURE_ENABLED_SND_MONITOR := true BOARD_USES_ALSA_AUDIO := true USE_CUSTOM_AUDIO_POLICY := 1 +AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD := true +AUDIO_FEATURE_ENABLED_COMPRESS_CAPTURE := false +AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true +AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true +AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER := true +AUDIO_FEATURE_ENABLED_EXTN_RESAMPLER := true +AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true +AUDIO_FEATURE_ENABLED_PCM_OFFLOAD := true +AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24 := true +AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true +AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true +AUDIO_FEATURE_ENABLED_WMA_OFFLOAD := true +AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true +AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true +AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true +AUDIO_FEATURE_ENABLED_SSR := true +AUDIO_FEATURE_ENABLED_DTS_EAGLE := false +BOARD_USES_SRS_TRUEMEDIA := false +DTS_CODEC_M_ := true +MM_AUDIO_ENABLED_SAFX := true +AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS := false +AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := false +AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true +DOLBY_ENABLE := false USE_XML_AUDIO_POLICY_CONF := 1 +AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true +AUDIO_FEATURE_ENABLED_HIFI_AUDIO := true +AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true +AUDIO_FEATURE_ENABLED_NT_PAUSE_TIMEOUT := true +AUDIO_FEATURE_ENABLED_ANC_HEADSET := true +AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := true +AUDIO_FEATURE_ENABLED_FLUENCE := true +AUDIO_FEATURE_ENABLED_HDMI_SPK := true +AUDIO_FEATURE_ENABLED_HDMI_EDID := true +AUDIO_FEATURE_ENABLED_EXT_HDMI := true +AUDIO_FEATURE_ENABLED_HFP := true +AUDIO_FEATURE_ENABLED_INCALL_MUSIC := false +AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true +AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true +AUDIO_FEATURE_ENABLED_SPKR_PROTECTION := true +AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true +AUDIO_FEATURE_ENABLED_DEV_ARBI := false +MM_AUDIO_ENABLED_FTM := true +TARGET_USES_QCOM_MM_AUDIO := true +AUDIO_FEATURE_ENABLED_SOURCE_TRACKING := true +BOARD_SUPPORTS_QAHW := false +AUDIO_FEATURE_ENABLED_SND_MONITOR := true +AUDIO_FEATURE_ENABLED_SVA_MULTI_STAGE := true +AUDIO_FEATURE_ENABLED_DLKM := false # Bluetooth BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth diff --git a/vendor_prop.mk b/vendor_prop.mk index 8f1d249..6b3c999 100644 --- a/vendor_prop.mk +++ b/vendor_prop.mk @@ -4,24 +4,13 @@ # Audio PRODUCT_PROPERTY_OVERRIDES += \ - audio.deep_buffer.media=true \ - vendor.audio.offload.buffer.size.kb=64 \ - vendor.audio.offload.gapless.enabled=false \ - vendor.audio.offload.multiple.enabled=false \ - vendor.audio.offload.pcm.16bit.enable=false \ - vendor.audio.offload.pcm.24bit.enable=false \ - audio.offload.track.enable=true \ - persist.audio.dualmic.config=endfire \ - ro.af.client_heap_size_kbyte=7168 \ af.fast_track_multiplier=1 \ + audio.deep_buffer.media=true \ audio.offload.disable=false \ audio.offload.min.duration.secs=60 \ audio.offload.video=false \ - vendor.audio.playback.mch.downsample=true \ - vendor.audio_hal.period_size=240 \ av.offload.enable=false \ av.debug.disable.pers.cache=1 \ - persist.audio.endcall.delay=250 \ qcom.hw.aac.encoder=false \ persist.audio.calfile0=/vendor/etc/acdbdata/Bluetooth_cal.acdb \ persist.audio.calfile1=/vendor/etc/acdbdata/General_cal.acdb \ @@ -30,12 +19,27 @@ PRODUCT_PROPERTY_OVERRIDES += \ persist.audio.calfile4=/vendor/etc/acdbdata/Hdmi_cal.acdb \ persist.audio.calfile5=/vendor/etc/acdbdata/Headset_cal.acdb \ persist.audio.calfile6=/vendor/etc/acdbdata/Speaker_cal.acdb \ + persist.audio.dualmic.config=endfire \ + persist.audio.endcall.delay=250 \ persist.vendor.audio.fluence.speaker=false \ persist.vendor.audio.fluence.voicecall=true \ persist.vendor.audio.fluence.voicecomm=true \ persist.vendor.audio.fluence.voicerec=false \ - ro.qc.sdk.audio.fluencetype=none \ - ro.qc.sdk.audio.ssr=false \ + persist.vendor.audio.hw.binder.size_kbyte=1024 \ + ro.af.client_heap_size_kbyte=7168 \ + ro.vendor.audio.sdk.fluencetype=none \ + ro.vendor.audio.sdk.ssr=false \ + vendor.audio_hal.period_size=240 \ + vendor.audio.flac.sw.decoder.24bit=true \ + vendor.audio.offload.buffer.size.kb=64 \ + vendor.audio.offload.gapless.enabled=false \ + vendor.audio.offload.multiple.enabled=false \ + vendor.audio.offload.passthrough=false \ + vendor.audio.offload.track.enable=true \ + vendor.audio.parser.ip.buffer.size=262144 \ + vendor.audio.playback.mch.downsample=true \ + vendor.audio.safx.pbe.enabled=true \ + vendor.audio.tunnel.encode=false \ vendor.use.voice.path.for.pcm.voip=false # Bluetooth