No description
Find a file
New Author Name a54c599e2b dolby: configs: Forcefully disable volume leveler
sed -i "/volume-leveler-enable/ s/true/false/g" configs/audio/dax-default.xml

Change-Id: I7ceb29291a9e55036d57975f5a28a149c7fcb435
2024-11-25 17:31:31 +05:30
configs dolby: configs: Forcefully disable volume leveler 2024-11-25 17:31:31 +05:30
ldac dolby: Add LDAC & LHDC codecs 2024-11-19 23:47:29 +05:30
overlay/DolbyFrameworksResCommon dolby: overlay: Add empty Dolby specific frameworks overlay 2024-11-24 13:52:15 +05:30
proprietary dolby: Replace nuwa libs with Moto 2024-11-25 17:31:09 +05:30
RemovePackagesDolby dolby: Add Remove Packages for Dolby Environment 2024-03-16 09:38:34 +05:30
sepolicy/vendor Import OOS-11 dolby from OP9R (11.2.8.8) 2022-11-28 00:34:41 +05:30
XiaomiDolby dolby: DolbyManager: Fix building in Android 15 2024-11-09 19:24:26 +05:30
Android.bp dolby: Remove owner from soong modules 2024-10-28 13:32:36 +05:30
dolby.mk dolby: Replace nuwa libs with Moto 2024-11-25 17:31:09 +05:30
dolby_framework_matrix.xml dolby: DaxUI: Remove bass enhancer switch 2024-01-15 22:56:43 +05:30
README.mkdn dolby: Update readme 2024-11-22 01:05:46 +05:30
vendor.dolby.hardware.dms@2.0-service.xml Import OOS-11 dolby from OP9R (11.2.8.8) 2022-11-28 00:34:41 +05:30

Xiaomi 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 :-

[**1**] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/2295d515b2d24cb94cc0545b0f80c20ca93af761

[**2**] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/acbc197257083339b9d1b738c5b613f4a0feec7f

[**3**] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/0182c5b44f0984845b8fb71a6006ecd4abffc9d3

[**4**] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/e64cfcc3382ac6915d7d513ef7a69a64eb00659c

[**5**] https://github.com/Spanish-or-Vanish/android_device_xiaomi_sm8350-common/commit/463cd46921e1451c9b8315334f8cf01998469b6d

# Credits:
 * [**HELLBOY017**](https://github.com/HELLBOY017)
 * [**adithya2306**](https://github.com/adithya2306)
 * [**johnmart19**](https://github.com/johnmart19)