From e751883fcc9c7351a0a45685f0279b777568c9de Mon Sep 17 00:00:00 2001 From: Nikhil Bhanu Date: Wed, 31 Jan 2024 17:37:24 -0800 Subject: [PATCH] Audio: Enabled stereo spatialization property for caiman, komodo, tokay and ripcurrent devices Bug: 323223919 Test: manual - Tested enable/disable behavior on shiba Test: manual - Playback stereo content with spatial audio enabled Change-Id: I1a4dde2f0b2ccc08562bc72adf3739a12742dbb7 --- device-caiman.mk | 4 ++++ device-komodo.mk | 4 ++++ device-ripcurrent24.mk | 4 ++++ device-ripcurrentpro.mk | 4 ++++ device-tokay.mk | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/device-caiman.mk b/device-caiman.mk index 4023ff60..7243160d 100644 --- a/device-caiman.mk +++ b/device-caiman.mk @@ -124,6 +124,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_enabled=true +# declare use of stereo spatialization +PRODUCT_PROPERTY_OVERRIDES += \ + ro.audio.stereo_spatialization_enabled=true + # Sound Dose PRODUCT_PACKAGES += \ android.hardware.audio.sounddose-vendor-impl \ diff --git a/device-komodo.mk b/device-komodo.mk index 80cc9cb3..646f5d67 100644 --- a/device-komodo.mk +++ b/device-komodo.mk @@ -142,6 +142,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_enabled=true +# declare use of stereo spatialization +PRODUCT_PROPERTY_OVERRIDES += \ + ro.audio.stereo_spatialization_enabled=true + # Sound Dose PRODUCT_PACKAGES += \ android.hardware.audio.sounddose-vendor-impl \ diff --git a/device-ripcurrent24.mk b/device-ripcurrent24.mk index 591853b6..58d104aa 100644 --- a/device-ripcurrent24.mk +++ b/device-ripcurrent24.mk @@ -93,6 +93,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_enabled=true +# declare use of stereo spatialization +PRODUCT_PROPERTY_OVERRIDES += \ + ro.audio.stereo_spatialization_enabled=true + # Bluetooth hci_inject test tool PRODUCT_PACKAGES_DEBUG += \ hci_inject diff --git a/device-ripcurrentpro.mk b/device-ripcurrentpro.mk index dfc4e082..a3c81acd 100644 --- a/device-ripcurrentpro.mk +++ b/device-ripcurrentpro.mk @@ -95,6 +95,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_enabled=true +# declare use of stereo spatialization +PRODUCT_PROPERTY_OVERRIDES += \ + ro.audio.stereo_spatialization_enabled=true + # Bluetooth hci_inject test tool PRODUCT_PACKAGES_DEBUG += \ hci_inject diff --git a/device-tokay.mk b/device-tokay.mk index 67ece952..fb0eecf8 100644 --- a/device-tokay.mk +++ b/device-tokay.mk @@ -118,6 +118,10 @@ PRODUCT_PACKAGES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.audio.spatializer_enabled=true +# declare use of stereo spatialization +PRODUCT_PROPERTY_OVERRIDES += \ + ro.audio.stereo_spatialization_enabled=true + # Sound Dose PRODUCT_PACKAGES += \ android.hardware.audio.sounddose-vendor-impl \