diff --git a/audio/configs/audio_effects.xml b/audio/configs/audio_effects.xml index 428fb53..3a90520 100644 --- a/audio/configs/audio_effects.xml +++ b/audio/configs/audio_effects.xml @@ -41,7 +41,7 @@ - + @@ -89,7 +89,7 @@ - + diff --git a/audio/configs/audio_policy_configuration.xml b/audio/configs/audio_policy_configuration.xml index d272825..d5ef723 100644 --- a/audio/configs/audio_policy_configuration.xml +++ b/audio/configs/audio_policy_configuration.xml @@ -112,6 +112,10 @@ + + + @@ -214,9 +218,9 @@ + sources="primary output,deep_buffer,fast,direct_pcm,compressed_offload,mmap_no_irq_out,hifi_playback,immersive_out"/> + sources="primary output,deep_buffer,fast,direct_pcm,compressed_offload,mmap_no_irq_out,hifi_playback,immersive_out"/> - + diff --git a/audio/configs/bluetooth_audio_policy_configuration.xml b/audio/configs/bluetooth_audio_policy_configuration.xml new file mode 100644 index 0000000..73292bc --- /dev/null +++ b/audio/configs/bluetooth_audio_policy_configuration.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common.mk b/common.mk index da60523..7ca8fcb 100644 --- a/common.mk +++ b/common.mk @@ -97,9 +97,9 @@ PRODUCT_COPY_FILES += \ $(COMMON_PATH)/audio/configs/mixer_usb_gray.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_usb_gray.xml \ $(COMMON_PATH)/audio/configs/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml \ $(COMMON_PATH)/audio/configs/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info.xml \ + $(COMMON_PATH)/audio/configs/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml diff --git a/proprietary-files.txt b/proprietary-files.txt index d5cd89e..8d54ebe 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -116,6 +116,9 @@ vendor/lib64/soundfx/libshoebox.so vendor/lib64/soundfx/libqcbassboost.so vendor/lib64/soundfx/libswspatializer.so +# Audio (FX modules) - from cheetah-user 13 TQ2A.230405.003.E1 9802792 release-keys +vendor/lib/soundfx/libspatialaudio.so|379b98b020729d05cad4e84202f42335b96bb755 + # Audio Firmware vendor/firmware/dax_param.bin diff --git a/vendor.prop b/vendor.prop index 4efcefb..063fd9c 100644 --- a/vendor.prop +++ b/vendor.prop @@ -61,6 +61,7 @@ vendor.audio.feature.audiozoom.enable=false vendor.audio.feature.incall_music.enable=true ro.config.media_vol_steps=30 ro.config.vc_call_vol_steps=8 +ro.audio.spatializer_enabled=true # Bluetooth persist.vendor.bt.a2dp_offload_cap=sbc-aptx-aptxtws-aptxhd-aac-ldac