From 412664dc84c406d815839ae34c8bc4b00fe4d548 Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Mon, 7 Mar 2022 11:20:40 -0800 Subject: [PATCH 1/3] DO NOT MERGE Oriole/Raven: enable Dolby DD+ decoder Bug: 198197610 Test: playback of EAC-3 file makes air vibrate Change-Id: I88f2bc9fae6eb8a5e76156bc640045679d1d749a --- device-oriole.mk | 13 +++++++ device-raven.mk | 13 +++++++ media_codecs_bo_dolby_c2.xml | 66 ++++++++++++++++++++++++++++++++++++ 3 files changed, 92 insertions(+) create mode 100644 media_codecs_bo_dolby_c2.xml diff --git a/device-oriole.mk b/device-oriole.mk index cee0836..680b054 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -217,3 +217,16 @@ PRODUCT_VENDOR_PROPERTIES += \ # This device is shipped with 31 (Android S) PRODUCT_SHIPPING_API_LEVEL := 31 + +############################################## +# DOLBY integration +include vendor/dolby/ds/dolby-buildspec.mk +$(call inherit-product, vendor/dolby/ds/dolby-product.mk) + +# add list of codecs, but overwrite device/google/gs101/media_codecs_bo_c2.xml +# with same file but with Dolby codecs listed +PRODUCT_COPY_FILES := \ + device/google/raviole/media_codecs_bo_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ + $(PRODUCT_COPY_FILES) + +PRODUCT_RESTRICT_VENDOR_FILES := false diff --git a/device-raven.mk b/device-raven.mk index fba7876..406492c 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -233,3 +233,16 @@ PRODUCT_VENDOR_PROPERTIES += \ # This device is shipped with 31 (Android S) PRODUCT_SHIPPING_API_LEVEL := 31 + +############################################# +# DOLBY integration +include vendor/dolby/ds/dolby-buildspec.mk +$(call inherit-product, vendor/dolby/ds/dolby-product.mk) + +# add list of codecs, but overwrite device/google/gs101/media_codecs_bo_c2.xml +# with same file but with Dolby codecs listed +PRODUCT_COPY_FILES := \ + device/google/raviole/media_codecs_bo_dolby_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2.xml \ + $(PRODUCT_COPY_FILES) + +PRODUCT_RESTRICT_VENDOR_FILES := false diff --git a/media_codecs_bo_dolby_c2.xml b/media_codecs_bo_dolby_c2.xml new file mode 100644 index 0000000..3197674 --- /dev/null +++ b/media_codecs_bo_dolby_c2.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 3f0fcbce02c260857e02c6633f68ffba26d1a003 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Tue, 8 Mar 2022 06:12:39 +0000 Subject: [PATCH 2/3] Update raven SVN to 25 Bug: 223313197 Change-Id: If21b8cd2be84e877f7e0a946b63e58df057f17b2 --- device-raven.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-raven.mk b/device-raven.mk index 406492c..c6c2c9d 100644 --- a/device-raven.mk +++ b/device-raven.mk @@ -187,7 +187,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=24 + ro.vendor.build.svn=25 # Hide cutout overlays PRODUCT_PACKAGES += \ From 6414ff31c8a37eb4e6c55db26ac72588b5abc216 Mon Sep 17 00:00:00 2001 From: Steve Berbary Date: Tue, 8 Mar 2022 06:12:14 +0000 Subject: [PATCH 3/3] Update oriole SVN to 25 Bug: 223313197 Change-Id: Iff092322df7a366281dcf89d8c9987064b6347f8 --- device-oriole.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device-oriole.mk b/device-oriole.mk index 680b054..6eda039 100644 --- a/device-oriole.mk +++ b/device-oriole.mk @@ -175,7 +175,7 @@ endif # Increment the SVN for any official public releases PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.build.svn=24 + ro.vendor.build.svn=25 # Hide cutout overlays PRODUCT_PACKAGES += \