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

Commit 50706b1e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "configs: msmnile: update sound trigger with FFECNS config"

parents 94737f89 186054dc
Loading
Loading
Loading
Loading
+34 −34
Original line number Diff line number Diff line
@@ -26,11 +26,14 @@
<!--- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN    -->
<!--- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                             -->
<sound_trigger_platform_info>
    <param version="0x0102" /> <!-- this must be the first param -->
    <param version="0x0103" /> <!-- this must be the first param -->
<!--- Version History:                                                          -->
<!--- 0x0101: Legacy version.                                                   -->
<!--- 0x0102: Includes acdb_ids param with the gcs_usecase tag. This matches    -->
<!--- the gcs_usecase with the acdb device that uses it.                        -->
<!--- 0x0103: app_type and in_channels added to <lsm usecase> and out_channels  -->
<!--- added to <adm_config>                                                     -->

    <common_config>
        <param max_cpe_sessions="1" />
        <param max_wdsp_sessions="2" />
@@ -65,8 +68,7 @@
    <!-- QTI SVA -->
    <sound_model_config>
        <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" />
        <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
        <param app_type="2" /> <!-- app type used in ACDB -->
        <param execution_type="DYNAMIC" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
        <param library="libsmwrapper.so" />
        <param max_cpe_phrases="6" />
        <param max_cpe_users="3" />
@@ -75,13 +77,15 @@
        <!-- Profile specific data which the algorithm can support -->
        <param sample_rate="16000" />
        <param bit_width="16" />
        <param channel_count="1"/>
        <param out_channels="1"/> <!-- Module output channels -->

        <!-- adm_cfg_profile should match with the one defined under adm_config -->
        <!-- Set it to NONE if LSM directly connects to AFE -->
        <param adm_cfg_profile="NONE" />
        <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC", -->
        <!-- "FLUENCE_QMIC". param value is valid when adm_cfg_profile="FLUENCE"-->
        <param fluence_type="FLUENCE_DMIC" />
        <param adm_cfg_profile="FFECNS" />
        <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC"   -->
        <!-- "FLUENCE_QMIC". Param value is valid when adm_cfg_profile -->
        <!-- is one of FLUENCE, FLUENCE_STEREO, FFECNS values          -->
        <param fluence_type="FLUENCE_TMIC" />
        <!-- wdsp_fluence_type: fluence disabled: "NONE" -->
        <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_TMIC", "FLUENCE_QMIC" -->
        <param wdsp_fluence_type="NONE" />
@@ -153,6 +157,8 @@
            valid execution_type values: "WDSP" "ADSP" -->
        <lsm_usecase>
            <param execution_mode="ADSP" />
            <param app_type="2" /> <!-- app type used in ACDB -->
            <param in_channels="5"/> <!-- Module input channels -->
            <param load_sound_model_ids="0x00012C1C, 0x00012C14" />
            <param unload_sound_model_ids="0x00012C1C, 0x00012C15" />
            <param confidence_levels_ids="0x00012C1C, 0x00012C07" />
@@ -161,15 +167,6 @@
            <param custom_config_ids="0x00012C1C, 0x00012C20" />
        </lsm_usecase>

        <lsm_usecase>
            <param execution_mode="WDSP" />
            <param load_sound_model_ids="0x00012C0D, 0x00012C14" />
            <param unload_sound_model_ids="0x00012C0D, 0x00012C15" />
            <param confidence_levels_ids="0x00012C0D, 0x00012C07" />
            <param operation_mode_ids="0x00012C0D, 0x00012C02" />
            <param custom_config_ids="0x00012C0D, 0x00012C20" />
        </lsm_usecase>

        <!-- format: "ADPCM_packet" or "PCM_packet" !-->
        <!-- transfer_mode: "FTRT" or "RT" -->
        <!--  kw_duration is in milli seconds. It is valid only for FTRT
@@ -182,7 +179,6 @@
    <sound_model_config>
        <param vendor_uuid="876c1b46-9d4d-40cc-a4fd-4d5ec7a80e47" />
        <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
        <param app_type="4" /> <!-- app type for MD used in ACDB -->
        <param library="libsmwrapper.so" />
        <param max_cpe_phrases="1" />
        <param max_cpe_users="1" />
@@ -191,12 +187,13 @@
        <!-- Profile specific data which the algorithm can support -->
        <param sample_rate="16000" />
        <param bit_width="16" />
        <param channel_count="1"/>
        <param out_channels="1"/> <!-- Module output channels -->
        <!-- adm_cfg_profile should match with the one defined under adm_config -->
        <!-- Set it to NONE if LSM directly connects to AFE -->
        <param adm_cfg_profile="NONE" />
        <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC", -->
        <!-- "FLUENCE_QMIC". param value is valid when adm_cfg_profile="FLUENCE"-->
        <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC"   -->
        <!-- "FLUENCE_QMIC". Param value is valid when adm_cfg_profile -->
        <!-- is one of FLUENCE, FLUENCE_STEREO, FFECNS values          -->
        <param fluence_type="FLUENCE_DMIC" />
        <!-- wdsp_fluence_type: fluence disabled: "NONE" -->
        <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_TMIC", "FLUENCE_QMIC" -->
@@ -219,6 +216,8 @@
            valid execution_type values: only "ADSP" -->
        <lsm_usecase>
            <param execution_mode="ADSP" />
            <param app_type="4" /> <!-- app type for MD used in ACDB -->
            <param in_channels="1"/> <!-- Module input channels -->
            <param load_sound_model_ids="0x00012C22, 0x00012C14" />
            <param unload_sound_model_ids="0x00012C22, 0x00012C15" />
            <param confidence_levels_ids="0x00012C22, 0x00012C07" />
@@ -238,7 +237,6 @@
    <sound_model_config>
        <param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15" />
        <param execution_type="WDSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
        <param app_type="3" /> <!-- app type used in ACDB -->
        <param library="none" />
        <param max_cpe_phrases="1" />
        <param max_cpe_users="1" />
@@ -247,12 +245,13 @@
        <!-- Profile specific data which the algorithm can support -->
        <param sample_rate="16000" />
        <param bit_width="16" />
        <param channel_count="1"/>
        <param out_channels="1"/> <!-- Module output channels -->
        <!-- adm_cfg_profile should match with the one defined under adm_config -->
        <!-- Set it to NONE if LSM directly connects to AFE -->
        <param adm_cfg_profile="NONE" />
        <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC" -->
        <!-- "FLUENCE_QMIC". param value is valid when adm_cfg_profile="FLUENCE"-->
        <!-- fluence_type: "FLUENCE", "FLUENCE_DMIC", "FLUENCE_TMIC"   -->
        <!-- "FLUENCE_QMIC". Param value is valid when adm_cfg_profile -->
        <!-- is one of FLUENCE, FLUENCE_STEREO, FFECNS values          -->
        <param fluence_type="FLUENCE_DMIC" />
        <!-- wdsp_fluence_type: fluence disabled: "NONE" -->
        <!-- fluence enabled: "FLUENCE_DMIC", "FLUENCE_QMIC" -->
@@ -282,6 +281,8 @@

        <lsm_usecase>
            <param execution_mode="ADSP" />
            <param app_type="3" /> <!-- app type used in ACDB -->
            <param in_channels="1"/> <!-- Module input channels -->
            <param load_sound_model_ids="0x18000001, 0x00012C14" />
            <param unload_sound_model_ids="0x18000001, 0x00012C15" />
            <param confidence_levels_ids="0x18000001, 0x00012C07" />
@@ -290,15 +291,6 @@
            <param custom_config_ids="0x18000001, 0x00012C20" />
        </lsm_usecase>

        <lsm_usecase>
            <param execution_mode="WDSP" />
            <param load_sound_model_ids="0x18000001, 0x00012C14" />
            <param unload_sound_model_ids="0x18000001, 0x00012C15" />
            <param confidence_levels_ids="0x18000001, 0x00012C07" />
            <param operation_mode_ids="0x18000001, 0x00012C02" />
            <param custom_config_ids="0x18000001, 0x00012C20" />
        </lsm_usecase>

        <!-- format: "ADPCM_packet" or "PCM_packet" !-->
        <!-- transfer_mode: "FTRT" or "RT" -->
        <!--  kw_duration is in milli seconds. It is valid only for FTRT
@@ -354,6 +346,14 @@
        <param bit_width="16" />
    </adm_config>

    <adm_config>
        <param adm_cfg_profile="FFECNS" />
        <param app_type="69947" />
        <param sample_rate="16000" />
        <param bit_width="16" />
        <param out_channels="5"/>
    </adm_config>

    <!-- backend_type tag defines backend type for each device -->
    <!-- Default value is assumed for devices that are not listed here -->
    <backend_type>