diff --git a/audio/lynx/audio-tables.mk b/audio/lynx/audio-tables.mk index c7e2828..f38db39 100644 --- a/audio/lynx/audio-tables.mk +++ b/audio/lynx/audio-tables.mk @@ -23,6 +23,7 @@ PRODUCT_COPY_FILES += \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \ + device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml # AudioEffectHAL Configuration diff --git a/audio/lynx/config/audio_policy_volumes.xml b/audio/lynx/config/audio_policy_volumes.xml new file mode 100644 index 0000000..2fc20cb --- /dev/null +++ b/audio/lynx/config/audio_policy_volumes.xml @@ -0,0 +1,238 @@ + + + + + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + 1,-5000 + 33,-3500 + 66,-2400 + 100,-1600 + + + + + + + 1,-4000 + 33,-2400 + 66,-1200 + 100,0 + + + + + + + 1,-6200 + 28,-3800 + 64,-2000 + 68,-1800 + 72,-1600 + 76,-1400 + 80,-1200 + 88,-850 + 92,-650 + 96,-400 + 100,0 + + + + + + + 0,-4000 + 33,-2400 + 66,-1200 + 100,0 + + + + + + + 1,-4000 + 33,-2400 + 66,-1200 + 100,0 + + + + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + 1,-5000 + 33,-3500 + 66,-2400 + 100,-1600 + + + + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + 1,-6000 + 33,-3000 + 66,-2200 + 100,-1600 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/audio/lynx/tuning/waves/waves_preset.mps b/audio/lynx/tuning/waves/waves_preset.mps index 9e46393..dd74132 100644 Binary files a/audio/lynx/tuning/waves/waves_preset.mps and b/audio/lynx/tuning/waves/waves_preset.mps differ diff --git a/device-lynx.mk b/device-lynx.mk index 57c264a..1e0a391 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -22,6 +22,8 @@ $(call inherit-product-if-exists, vendor/google_devices/gs201/prebuilts/device-v $(call inherit-product-if-exists, vendor/google_devices/gs201/proprietary/device-vendor.mk) $(call inherit-product-if-exists, vendor/google_devices/lynx/proprietary/lynx/device-vendor-lynx.mk) +DEVICE_PACKAGE_OVERLAYS += device/google/lynx/lynx/overlay + include device/google/lynx/audio/lynx/audio-tables.mk include device/google/gs201/device-shipping-common.mk include hardware/google/pixel/vibrator/cs40l26/device.mk diff --git a/lynx/overlay/frameworks/base/core/res/res/values/config.xml b/lynx/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..58197aa --- /dev/null +++ b/lynx/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,133 @@ + + + + + + true + + + true + + + 6 + + + 0.0 + + + 1.0 + + + 0.17429718 + + + + 1 + 2 + 3 + 4 + 8 + 12 + 20 + 33 + 55 + 90 + 148 + 245 + 403 + 665 + 1097 + 1808 + 3000 + 6000 + 9000 + 10000 + 14000 + 20000 + + + + + 5.139055 + 9.962018965 + 18.34822964 + 21.55068128 + 24.0167788 + 30.62162162 + 35.09486396 + 41.2249643 + 47.6760716 + 55.73002427 + 66.24126116 + 79.67614115 + 98.04727274 + 125.1221991 + 161.6875093 + 208.4885553 + 264.8221315 + 328.5869521 + 627.4315413 + 826.8584866 + 867.0494638 + 901.4496943 + 1100.0 + + + + 2000 + 4000 + + + 0 + + + 90 +