Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17473c5d authored by Ramjee Singh's avatar Ramjee Singh Committed by Gerrit - the friendly Code Review server
Browse files

config: define pcm device id for voice call

Based on new voice architecture, pcm device ids are
defined in platform_info.xml, so that voice usecase
will be using proper device ids

CRs-fixed: 2034412
Change-Id: Id9691ecf9132e7bed4ae8e72a762649531530a05
parent f1055bac
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.         -->
<!-- Copyright (c) 2015-2016, 2017 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 -->
@@ -26,6 +26,13 @@
<!-- 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>
    <pcm_ids>
        <usecase name="USECASE_VOICEMMODE1_CALL" type="in" id="34"/>
        <usecase name="USECASE_VOICEMMODE1_CALL" type="out" id="34"/>
        <usecase name="USECASE_VOICEMMODE2_CALL" type="in" id="35"/>
        <usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="35"/>
    </pcm_ids>

    <interface_names>
        <device name="AUDIO_DEVICE_IN_BUILTIN_MIC" interface="QUATERNARY_MI2S" codec_type="external"/>
        <device name="AUDIO_DEVICE_IN_BACK_MIC" interface="QUATERNARY_MI2S" codec_type="external"/>