diff --git a/marble-vendor.mk b/marble-vendor.mk index 88d4d0c..c803b04 100644 --- a/marble-vendor.mk +++ b/marble-vendor.mk @@ -38,6 +38,10 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/marble/proprietary/vendor/etc/audio/sku_ukee/mixer_paths_ukee_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_ukee/mixer_paths_ukee_mtp.xml \ vendor/xiaomi/marble/proprietary/vendor/etc/audio/sku_ukee/resourcemanager_ukee_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_ukee/resourcemanager_ukee_mtp.xml \ vendor/xiaomi/marble/proprietary/vendor/etc/audio_cloud_control_white_list.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_cloud_control_white_list.xml \ + vendor/xiaomi/marble/proprietary/vendor/etc/audio_policy_engine_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_engine_configuration.xml \ + vendor/xiaomi/marble/proprietary/vendor/etc/audio_policy_engine_default_stream_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_engine_default_stream_volumes.xml \ + vendor/xiaomi/marble/proprietary/vendor/etc/audio_policy_engine_product_strategies.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_engine_product_strategies.xml \ + vendor/xiaomi/marble/proprietary/vendor/etc/audio_policy_engine_stream_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_engine_stream_volumes.xml \ vendor/xiaomi/marble/proprietary/vendor/etc/backend_conf.xml:$(TARGET_COPY_OUT_VENDOR)/etc/backend_conf.xml \ vendor/xiaomi/marble/proprietary/vendor/etc/camera/102_SummerDay.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/102_SummerDay.png \ vendor/xiaomi/marble/proprietary/vendor/etc/camera/103_Fantasy.png:$(TARGET_COPY_OUT_VENDOR)/etc/camera/103_Fantasy.png \ diff --git a/proprietary/vendor/etc/audio_policy_engine_configuration.xml b/proprietary/vendor/etc/audio_policy_engine_configuration.xml new file mode 100644 index 0000000..4ca33b4 --- /dev/null +++ b/proprietary/vendor/etc/audio_policy_engine_configuration.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/proprietary/vendor/etc/audio_policy_engine_default_stream_volumes.xml b/proprietary/vendor/etc/audio_policy_engine_default_stream_volumes.xml new file mode 100644 index 0000000..84f30f3 --- /dev/null +++ b/proprietary/vendor/etc/audio_policy_engine_default_stream_volumes.xml @@ -0,0 +1,137 @@ + + + + + + + + 0,0 + 100,0 + + + 0,-9600 + 100,-9600 + + + + 1,-2400 + 33,-1800 + 66,-1200 + 100,-600 + + + + 1,-5800 + 20,-4000 + 60,-1700 + 100,0 + + + + 1,-4950 + 33,-3350 + 66,-1700 + 100,0 + + + + 1,-5800 + 20,-4000 + 60,-1700 + 100,0 + + + + 1,-4680 + 42,-2070 + 85,-540 + 100,0 + + + + 1,-4950 + 33,-3350 + 66,-1700 + 100,0 + + + + 1,-5800 + 20,-4000 + 60,-2100 + 100,-1000 + + + + 1,-12700 + 20,-8000 + 60,-4000 + 100,0 + + + + + + + + + 0,-5800 + 20,-4000 + 60,-1700 + 100,0 + + + + + 0,-4950 + 33,-3350 + 66,-1700 + 100,0 + + + + + 0,-5800 + 20,-4000 + 60,-1700 + 100,0 + + + + + 0,-4950 + 33,-3350 + 66,-1700 + 100,0 + + + + + 0,-5800 + 20,-4000 + 60,-2100 + 100,-1000 + + + + + 0,-12700 + 20,-8000 + 60,-4000 + 100,0 + + + diff --git a/proprietary/vendor/etc/audio_policy_engine_product_strategies.xml b/proprietary/vendor/etc/audio_policy_engine_product_strategies.xml new file mode 100644 index 0000000..175a5df --- /dev/null +++ b/proprietary/vendor/etc/audio_policy_engine_product_strategies.xml @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/proprietary/vendor/etc/audio_policy_engine_stream_volumes.xml b/proprietary/vendor/etc/audio_policy_engine_stream_volumes.xml new file mode 100644 index 0000000..99317ba --- /dev/null +++ b/proprietary/vendor/etc/audio_policy_engine_stream_volumes.xml @@ -0,0 +1,468 @@ + + + + + + + voice_call + 1 + 5 + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + 0,-3500 + 10,-3000 + 18,-2500 + 27,-2000 + 36,-1700 + 45,-1400 + 54,-1100 + 63,-800 + 72,-600 + 81,-400 + 90,-200 + 100,0 + + + + + + + system + 0 + 15 + + 1,-6300 + 33,-3954 + 66,-1829 + 100,-135 + + + 1,-6400 + 33,-3950 + 66,-1800 + 100,0 + + + 1,-6400 + 33,-3950 + 66,-1800 + 100,0 + + + 1,-6450 + 33,-4300 + 73,-2500 + 100,-1150 + + + 1,-6450 + 33,-4150 + 73,-2350 + 100,-1150 + + + 1,-6450 + 33,-4300 + 73,-2500 + 100,-1150 + + + + + + + + + ring + 0 + 15 + + + + + 1,-2970 + 33,-2010 + 66,-1020 + 100,0 + + + + + + + + music + 0 + 15 + + 0,-75800 + 1,-6430 + 2,-6352 + 7,-6197 + 13,-5887 + 20,-5500 + 27,-5200 + 33,-4787 + 40,-4461 + 47,-4093 + 53,-3815 + 60,-3479 + 66,-3205 + 73,-2941 + 80,-2650 + 87,-2350 + 93,-2096 + 100,-1829 + 109,-1530 + 116,-1280 + 122,-1071 + 130,-780 + 137,-560 + 143,-360 + 150,-135 + + + 0,-75800 + 1,-6100 + 2,-6050 + 7,-5800 + 13,-5500 + 20,-5150 + 27,-4800 + 33,-4500 + 40,-4150 + 47,-3870 + 53,-3630 + 60,-3350 + 66,-3110 + 73,-2830 + 80,-2550 + 87,-2270 + 93,-2045 + 100,-1800 + 109,-1485 + 116,-1240 + 123,-995 + 130,-750 + 137,-505 + 143,-280 + 150,0 + + + 0,-75800 + 1,-5250 + 2,-5200 + 7,-4950 + 13,-4650 + 20,-4300 + 27,-3950 + 33,-3680 + 40,-3400 + 47,-3120 + 53,-2910 + 60,-2700 + 66,-2520 + 73,-2310 + 80,-2100 + 87,-1890 + 93,-1710 + 100,-1500 + 109,-1230 + 116,-1020 + 123,-810 + 130,-600 + 137,-390 + 143,-210 + 150,0 + + + 0,-75800 + 1,-5728 + 2,-5680 + 7,-5408 + 13,-4982 + 20,-4450 + 27,-3950 + 33,-3607 + 40,-3321 + 47,-2956 + 53,-2703 + 60,-2436 + 66,-2215 + 73,-2001 + 80,-1759 + 87,-1524 + 93,-1324 + 100,-1112 + 109,-904 + 116,-732 + 122,-601 + 130,-458 + 137,-330 + 143,-242 + 150,-150 + + + 1,-6450 + 33,-4800 + 66,-2800 + 100,-830 + + + 1,-6450 + 13,-5400 + 20,-4830 + 27,-4430 + 33,-4030 + 40,-3730 + 47,-3430 + 53,-3130 + 60,-2830 + 66,-2530 + 73,-2230 + 80,-1930 + 87,-1630 + 93,-1330 + 100,-1010 + + + 1,-6450 + 13,-5800 + 20,-5400 + 27,-5000 + 33,-4600 + 40,-4200 + 47,-3850 + 53,-3500 + 60,-3150 + 66,-2800 + 73,-2450 + 80,-2050 + 87,-1650 + 93,-1250 + 100,-830 + + + + + + + + assistant + 0 + 15 + + + + + + + + + + + alarm + 1 + 15 + + + + + 0,-2970 + 33,-2010 + 66,-1020 + 100,0 + + + + + + + + notification + 0 + 15 + + + + + 1,-2970 + 33,-2010 + 66,-1020 + 100,0 + + + + + + + + bluetooth_sco + 1 + 15 + + 0,-420 + 33,-280 + 66,-140 + 100,0 + + + 0,-420 + 33,-280 + 66,-140 + 100,0 + + + 0,-420 + 33,-280 + 66,-140 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-420 + 33,-280 + 66,-140 + 100,0 + + + + + + enforced_audible + 0 + 7 + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + + + + + + + dtmf + 0 + 15 + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + + + + + + + tts + 0 + 15 + + + + + + + + + + + accessibility + 1 + 15 + + + + + + + + + + +