No description
Find a file
New Author Name 6fe60d867d dolby: Update from nuwa V14.0.9.0.UMBEUXM
* Also Import 32-bit blobs
2024-11-22 01:05:32 +05:30
configs dolby: update from MIUI CN 14 2024-10-24 13:00:54 +05:30
ldac dolby: Add LDAC & LHDC codecs 2024-11-19 23:47:29 +05:30
proprietary dolby: Update from nuwa V14.0.9.0.UMBEUXM 2024-11-22 01:05:32 +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: Update from nuwa V14.0.9.0.UMBEUXM 2024-11-22 01:05:32 +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-03-16 18:58:29 +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

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)