From 958037f5aac8f43ff5a3bbc01766960af5664d7a Mon Sep 17 00:00:00 2001 From: Ziyang Zhou Date: Sat, 11 Jun 2022 09:10:52 +0800 Subject: [PATCH] add redroid codecs (OMX & C2) --- manifest.xml | 13 ------- media_codecs.xml | 88 ------------------------------------------------ redroid.mk | 9 +++-- 3 files changed, 4 insertions(+), 106 deletions(-) delete mode 100644 media_codecs.xml diff --git a/manifest.xml b/manifest.xml index bebb25c..9bdad11 100644 --- a/manifest.xml +++ b/manifest.xml @@ -84,17 +84,4 @@ default - - android.hardware.media.omx - hwbinder - 1.0 - - IOmx - default - - - IOmxStore - default - - diff --git a/media_codecs.xml b/media_codecs.xml deleted file mode 100644 index edead34..0000000 --- a/media_codecs.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - diff --git a/redroid.mk b/redroid.mk index 6be1cec..d94fa11 100644 --- a/redroid.mk +++ b/redroid.mk @@ -71,12 +71,11 @@ PRODUCT_PACKAGES += \ android.hardware.media.omx@1.0-service \ +$(call inherit-product, hardware/redroid/omx/omx.mk) + +USE_XML_AUDIO_POLICY_CONF := 1 + PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ - frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ - frameworks/av/media/libeffects/data/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \ frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/primary_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \