From befabf2672a86e9a5fb0df7a012d624425175876 Mon Sep 17 00:00:00 2001 From: Ziyang Zhou Date: Sat, 13 Nov 2021 15:04:46 +0800 Subject: [PATCH] update media config --- media_codecs.xml | 84 ++++++++++ media_profiles.xml | 391 +++++++++++++++++++++++++++++++++++++++++++++ redroid.mk | 5 +- 3 files changed, 477 insertions(+), 3 deletions(-) create mode 100644 media_codecs.xml create mode 100644 media_profiles.xml diff --git a/media_codecs.xml b/media_codecs.xml new file mode 100644 index 0000000..87d11f2 --- /dev/null +++ b/media_codecs.xml @@ -0,0 +1,84 @@ + + + + + + + + + + diff --git a/media_profiles.xml b/media_profiles.xml new file mode 100644 index 0000000..733b2e1 --- /dev/null +++ b/media_profiles.xml @@ -0,0 +1,391 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/redroid.mk b/redroid.mk index 122fa19..49f6668 100644 --- a/redroid.mk +++ b/redroid.mk @@ -110,13 +110,12 @@ DEVICE_MANIFEST_FILE += device/redroid/android.hardware.drm@1.2-service.clearkey USE_XML_AUDIO_POLICY_CONF := 1 PRODUCT_COPY_FILES += \ - device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ - device/generic/goldfish/camera/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ + $(LOCAL_PATH)/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ + $(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.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ - device/generic/goldfish/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.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 \