Revert "Dolby Audio"

This reverts commit 02c5d32839.
This commit is contained in:
ReveRTX
2022-01-31 11:35:52 +00:00
parent 42f5a19e19
commit 8625c815a3
6 changed files with 2 additions and 69 deletions

View File

@@ -55,14 +55,6 @@
<instance>default</instance> <instance>default</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl" optional="true">
<name>vendor.dolby.hardware.dms</name>
<version>1.0</version>
<interface>
<name>IDms</name>
<instance>default</instance>
</interface>
</hal>
<hal format="native" optional="false"> <hal format="native" optional="false">
<name>netutils-wrapper</name> <name>netutils-wrapper</name>
<!-- <!--

View File

@@ -538,14 +538,4 @@
<instance>wifidisplayhdcphal</instance> <instance>wifidisplayhdcphal</instance>
</interface> </interface>
</hal> </hal>
<hal format="hidl">
<name>vendor.dolby.hardware.dms</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IDms</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IDms/default</fqname>
</hal>
</manifest> </manifest>

View File

@@ -1,45 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2016 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This file was modified by Dolby Laboratories, Inc. The portions of the
code that are surrounded by "DOLBY..." are copyrighted and
licensed separately, as follows:
(C) 2018 Dolby Laboratories, Inc.
All rights reserved.
This program is protected under international and U.S. Copyright laws as
an unpublished work. This program is confidential and proprietary to the
copyright owners. Reproduction or disclosure, in whole or in part, or the
production of derivative works therefrom without the express permission of
the copyright owners is prohibited.
-->
<Included>
<Decoders>
<!-- DOLBY_UDC -->
<MediaCodec name="OMX.dolby.ac3.decoder" type="audio/ac3">
<Limit name="channel-count" max="6" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-640000" />
</MediaCodec>
<MediaCodec name="OMX.dolby.eac3.decoder" type="audio/eac3">
<Limit name="channel-count" max="8" />
<Limit name="sample-rate" ranges="32000,44100,48000" />
<Limit name="bitrate" range="32000-6144000" />
</MediaCodec>
<!-- DOLBY_UDC END -->
</Decoders>
</Included>

View File

@@ -374,5 +374,4 @@ Only the three quirks included above are recognized at this point:
</MediaCodec> </MediaCodec>
</Decoders> </Decoders>
<Include href="media_codecs_google_video.xml" /> <Include href="media_codecs_google_video.xml" />
<Include href="media_codecs_dolby_audio.xml" />
</MediaCodecs> </MediaCodecs>

View File

@@ -274,8 +274,7 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ $(LOCAL_PATH)/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
$(LOCAL_PATH)/configs/media_profiles_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_8953_v1.xml \ $(LOCAL_PATH)/configs/media_profiles_8953_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_8953_v1.xml \
$(LOCAL_PATH)/configs/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ $(LOCAL_PATH)/configs/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \ $(LOCAL_PATH)/configs/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml
$(LOCAL_PATH)/configs/media/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
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_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \

View File

@@ -46,9 +46,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
vendor.audio.tunnel.encode=false \ vendor.audio.tunnel.encode=false \
ro.config.media_vol_steps=25 \ ro.config.media_vol_steps=25 \
vendor.use.voice.path.for.pcm.voip=false \ vendor.use.voice.path.for.pcm.voip=false \
hpx_send_params=1 \ hpx_send_params=1
vendor.audio.dolby.ds2.enabled=true \
vendor.audio.dolby.ds2.hardbypass=false
# Bluetooth # Bluetooth
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \