Skip to content

Hexdare/hardware_dolby

 
 

Repository files navigation

Xiaomi Dolby

Getting Started

For dolby media codecs to work add this line in your media codecs config (should be in vendor partition) :-

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

$(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:-

DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE :=

And

DEVICE_MANIFEST_FILE :=

To:-

DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE +=

And

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:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 88.5%
  • Makefile 8.6%
  • Java 2.9%