Xml文件  |  72行  |  5.43 KB

<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2014, The Linux Foundation. All rights reserved.         -->
<!--                                                                        -->
<!-- Redistribution and use in source and binary forms, with or without     -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met:                                                                   -->
<!--     * Redistributions of source code must retain the above copyright   -->
<!--       notice, this list of conditions and the following disclaimer.    -->
<!--     * Redistributions in binary form must reproduce the above          -->
<!--       copyright notice, this list of conditions and the following      -->
<!--       disclaimer in the documentation and/or other materials provided  -->
<!--       with the distribution.                                           -->
<!--     * Neither the name of The Linux Foundation nor the names of its    -->
<!--       contributors may be used to endorse or promote products derived  -->
<!--       from this software without specific prior written permission.    -->
<!--                                                                        -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED           -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF   -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF   -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR        -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                          -->
<audio_platform_info>
    <acdb_ids>
        <device name="SND_DEVICE_IN_BT_SCO_MIC_NREC" acdb_id="122"/>
        <device name="SND_DEVICE_IN_BT_SCO_MIC_WB_NREC" acdb_id="123"/>
        <device name="SND_DEVICE_IN_VOICE_DMIC_TMUS" acdb_id="41"/>
        <device name="SND_DEVICE_IN_HEADSET_MIC_AEC" acdb_id="134"/>
        <device name="SND_DEVICE_IN_VOICE_REC_HEADSET_MIC" acdb_id="64"/>
        <device name="SND_DEVICE_OUT_SPEAKER_PROTECTED" acdb_id="101"/>
        <device name="SND_DEVICE_OUT_SPEAKER" acdb_id="14"/>
        <device name="SND_DEVICE_OUT_LINE" acdb_id="10"/>
        <device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" acdb_id="10"/>
        <device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE" acdb_id="10"/>
        <device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="14"/>
        <device name="SND_DEVICE_OUT_VOICE_HANDSET_TMUS" acdb_id="7"/>
    </acdb_ids>
    <backend_names>
        <device name="SND_DEVICE_OUT_HEADPHONES" backend="headphones" interface="SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_LINE" backend="headphones" interface="SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" interface="SLIMBUS_0_RX-and-SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES" backend="speaker-and-headphones" interface="SLIMBUS_0_RX-and-SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_SPEAKER_AND_LINE" backend="speaker-and-headphones" interface="SLIMBUS_0_RX-and-SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE" backend="speaker-and-headphones" interface="SLIMBUS_0_RX-and-SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_VOICE_HEADPHONES" backend="headphones" interface="SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_VOICE_LINE" backend="headphones" interface="SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_VOICE_TTY_FULL_HEADPHONES" backend="headphones" interface="SLIMBUS_5_RX"/>
        <device name="SND_DEVICE_OUT_VOICE_TTY_VCO_HEADPHONES" backend="headphones" interface="SLIMBUS_5_RX"/>
    </backend_names>
    <config_params>
        <!-- If sound card name is not known, remove this entry -->
        <param key="snd_card_name" value="msm8994-tomtom-snd-card"/>
        <param key="input_mic_max_count" value="3"/>
        <param key="operator_info" value="verizon;310004;311480"/>
        <param key="operator_info" value="uscellular;311220;311580"/>
    </config_params>
    <operator_specific>
        <device name="SND_DEVICE_IN_VOICE_DMIC" operator="verizon" mixer_path="voice-dmic-ef-vzwusc" acdb_id="130"/>
        <device name="SND_DEVICE_IN_VOICE_DMIC" operator="uscellular" mixer_path="voice-dmic-ef-vzwusc" acdb_id="130"/>
        <device name="SND_DEVICE_OUT_VOICE_HANDSET" operator="verizon" mixer_path="voice-handset-vzwusc" acdb_id="131"/>
        <device name="SND_DEVICE_OUT_VOICE_HANDSET" operator="uscellular" mixer_path="voice-handset-vzwusc" acdb_id="131"/>
        <device name="SND_DEVICE_IN_VOICE_HEADSET_MIC" operator="verizon" mixer_path="voice-headset-mic-vzwusc" acdb_id="132"/>
        <device name="SND_DEVICE_IN_VOICE_HEADSET_MIC" operator="uscellular" mixer_path="voice-headset-mic-vzwusc" acdb_id="132"/>
        <device name="SND_DEVICE_OUT_VOICE_HEADPHONES" operator="verizon" mixer_path="voice-headphones-vzwusc" acdb_id="133"/>
        <device name="SND_DEVICE_OUT_VOICE_HEADPHONES" operator="uscellular" mixer_path="voice-headphones-vzwusc" acdb_id="133"/>
    </operator_specific>
</audio_platform_info>