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

Commit be133218 authored by Vatsal Bucha's avatar Vatsal Bucha Committed by Gerrit - the friendly Code Review server
Browse files

configs: lito: Add platform_lpi_enable flag



On lito, it is assumed that all sessions will have the same setting
for LPI enablement. So this flag will move from each individual
sound_model_config to the common_config.

Change-Id: Iee1366513154ffa78894be2c8d40b06f712c71ff
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 6339b09a
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@
        <param backend_dai_name="VA_CDC_DMA_TX_0" />
        <!-- Param used to indicate if SVA has dedicated SLIM ports -->
        <param dedicated_sva_path="true" />
        <param platform_lpi_enable="true" />
    </common_config>
    <acdb_ids>
        <param DEVICE_HANDSET_MIC_APE="100" />
@@ -70,7 +71,7 @@
    <!-- QTI SVA -->
    <sound_model_config>
        <param vendor_uuid="68ab2d40-e860-11e3-95ef-0002a5d5c51b" />
        <param execution_type="ADSP" /> <!-- value: "ADSP" "DYNAMIC" -->
        <param execution_type="ADSP" />
        <param library="libsmwrapper.so" />
        <param max_ape_phrases="20" />
        <param max_ape_users="10" />
@@ -78,7 +79,6 @@
        <param sample_rate="16000" />
        <param bit_width="16" />
        <param out_channels="1"/> <!-- Module output channels -->
        <param lpi_enable="true" />

        <arm_ss_usecase>
            <!-- Options are "KEYWORD_DETECTION", "USER_VERIFICATION", "CUSTOM_DETECTION"  -->
@@ -148,7 +148,7 @@
    <!-- QTI Music Detection !-->
    <sound_model_config>
        <param vendor_uuid="876c1b46-9d4d-40cc-a4fd-4d5ec7a80e47" />
        <param execution_type="ADSP" /> <!-- value: "ADSP" "DYNAMIC" -->
        <param execution_type="ADSP" />
        <param library="libsmwrapper.so" />
        <param max_ape_phrases="1" />
        <param max_ape_users="1" />
@@ -156,7 +156,6 @@
        <param sample_rate="16000" />
        <param bit_width="16" />
        <param out_channels="1"/> <!-- Module output channels -->
        <param lpi_enable="true" />
        <!-- Module and param ids with which the algorithm is integrated
            in non-graphite firmware (note these must come after gcs params)
            Extends flexibility to have different ids based on execution type.
@@ -204,7 +203,7 @@
    <!-- Google Hotword -->
    <sound_model_config>
        <param vendor_uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15" />
        <param execution_type="ADSP" /> <!-- value: "WDSP" "ADSP" "DYNAMIC" -->
        <param execution_type="ADSP" />
        <param library="none" />
        <param max_ape_phrases="1" />
        <param max_ape_users="1" />
@@ -257,7 +256,7 @@
    <!-- Google Music Detection -->
    <sound_model_config>
        <param vendor_uuid="9f6ad62a-1f0b-11e7-87c5-40a8f03d3f15" />
        <param execution_type="ADSP" /> <!-- value: "ADSP" "DYNAMIC" -->
        <param execution_type="ADSP" />
        <param library="none" />
        <!--  kw_duration is in milli seconds. It is valid only for FTRT
            transfer mode -->