No description
Based on hardware/xiaomi History - - Enable TARGET_USES_DOLBY - Add intelligent equalizer setting - Remove deprecated PlainTooltipBox - Introduce graphical equalizer - Add launcher icon - fixup! Restore all settings upon bootup - Override AudioFx - Use all shared resources from devicesettings - Fix build with kotlinc 1.9.0 - Restore current profile _after_ resetting profiles - Do not set volume leveler amount - Restore all settings upon bootup - Rewrite in Kotlin - Revert "Re-enable speaker virtualization after bootup" - Convert to SwitchPreferenceCompat - Migrate to CompoundButton.OnCheckedChangeListener - Enable use_resource_processor for all sysui deps - Introduce Dolby Atmos Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com> Co-authored-by: Pranav Vashi <neobuddy89@gmail.com> Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch> Co-authored-by: basamaryan <basam.aryan@gmail.com> |
||
|---|---|---|
| configs | ||
| proprietary | ||
| RemovePackagesDolby | ||
| sepolicy/vendor | ||
| XiaomiDolby | ||
| Android.bp | ||
| dolby.mk | ||
| dolby_framework_matrix.xml | ||
| README.mkdn | ||
| vendor.dolby.hardware.dms@2.0-service.xml | ||
OnePlus Dolby ============== Getting Started --------------- For dolby media codecs to work add this line in your media codecs config (should be in vendor partition) :- ```bash <Include href="media_codecs_dolby_audio.xml" /> ``` To build, add the dolby effects in your device's audio effects config then inherit the dolby config by adding this in your device's makefile :- ```bash $(call inherit-product, hardware/dolby/dolby.mk) ``` Now, moving hidl definitions in manifest to device trees is completely absurd so stop overriding manifest in your device trees an example for such would be :- Changing these in BoardConfig makefile of your device tree:- ```bash DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := ``` And ```bash DEVICE_MANIFEST_FILE := ``` To:- ```bash DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += ``` And ```bash DEVICE_MANIFEST_FILE += ``` The only change done above is changing := symbol to += so that manifest can't be overriden from device tree in BoardConfig makefile. At the end an example commit to properly implement it in your device tree could be :- https://github.com/swiitch-OFF-Lab/device_xiaomi_sm8350-common/commit/7edce2a13cad91827582b018a2285df1682869e9 # Credits: * [**HELLBOY07**](https://github.com/HELLBOY017)