<?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. The portions of the code that are surrounded by "DOLBY..." are copyrighted and licensed separately, as follows: Copyright (C) 2018-2022 Dolby Laboratories 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. --> <Included> <Decoders> <!-- DOLBY_UDC --> <MediaCodec name="c2.dolby.eac3.decoder" > <Type name="audio/ac3"> <Alias name="OMX.dolby.ac3.decoder" /> <Limit name="channel-count" max="6" /> <Limit name="sample-rate" ranges="32000,44100,48000" /> <Limit name="bitrate" range="32000-640000" /> </Type> <Type name="audio/eac3"> <Alias name="OMX.dolby.eac3.decoder" /> <Limit name="channel-count" max="8" /> <Limit name="sample-rate" ranges="32000,44100,48000" /> <Limit name="bitrate" range="32000-6144000" /> </Type> <Type name="audio/eac3-joc"> <Alias name="OMX.dolby.eac3-joc.decoder" /> <Limit name="channel-count" max="16" /> <Limit name="sample-rate" ranges="48000" /> <Limit name="bitrate" range="32000-6144000" /> </Type> <Attribute name="software-codec" /> </MediaCodec> <!-- DOLBY_UDC END --> <!-- DOLBY_AC4 --> <MediaCodec name="c2.dolby.ac4.decoder" type="audio/ac4"> <Alias name="OMX.dolby.ac4.decoder" /> <Limit name="channel-count" max="16" /> <Limit name="sample-rate" ranges="48000" /> <Limit name="bitrate" range="16000-2688000" /> <Attribute name="software-codec" /> </MediaCodec> <!-- DOLBY_AC4 END --> </Decoders> </Included>