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

Commit f20bcaad authored by Quinn Male's avatar Quinn Male
Browse files

configs: kona: Add support for barge-in mode feature

This change allows for the session to switch between barge-in mode
and non barge-in mode for non-LPI usecases. The purpose is to turn
off EC when no playback usecase is active on non-LPI.

Change-Id: I565a43ef637728c1f00d25fcd1a3f70661ce8602
parent d4b3e7c7
Loading
Loading
Loading
Loading
+16 −3
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@
        <param dedicated_headset_path="false" />
        <param platform_lpi_enable="true" />
        <param enable_debug_dumps="false" />
        <param support_non_lpi_without_ec="false" />
    </common_config>
    <acdb_ids>
        <param DEVICE_HANDSET_MIC_APE="100" />
@@ -121,8 +122,14 @@
            <!-- is FFECNS -->
            <param fluence_type="FLUENCE_TMIC" />
            <param execution_mode="ADSP" />
            <!-- lpi_mode: "NON_LPI", "LPI" -->
            <param lpi_mode="NON_LPI" />
            <!-- lpi_mode: "NON_LPI_BARGE_IN", "NON_LPI", "LPI" -->
            <!-- NON_LPI_BARGE_IN: Default non-LPI mode type. lsm_usecase -->
            <!-- must be present with this mode type to handle barge-in. -->
            <!-- NON_LPI: If another lsm_usecase is present with this mode -->
            <!-- type, it will be used for non-LPI non-barge-in usecases. -->
            <!-- If not present, NON_LPI_BARGE_IN mode type will be used. -->
            <!-- LPI: This mode type will be used for LPI usecases. -->
            <param lpi_mode="NON_LPI_BARGE_IN" />
            <param app_type="2" /> <!-- app type used in ACDB -->
            <param in_channels="5"/> <!-- Module input channels -->
            <param load_sound_model_ids="0x00012C1C, 0x0, 0x00012C14" />
@@ -144,7 +151,13 @@
            <!-- is FFECNS -->
            <param fluence_type="FLUENCE_TMIC" />
            <param execution_mode="ADSP" />
            <!-- lpi_mode: "NON_LPI", "LPI" -->
            <!-- lpi_mode: "NON_LPI_BARGE_IN", "NON_LPI", "LPI" -->
            <!-- NON_LPI_BARGE_IN: Default non-LPI mode type. lsm_usecase -->
            <!-- must be present with this mode type to handle barge-in. -->
            <!-- NON_LPI: If another lsm_usecase is present with this mode -->
            <!-- type, it will be used for non-LPI non-barge-in usecases. -->
            <!-- If not present, NON_LPI_BARGE_IN mode type will be used. -->
            <!-- LPI: This mode type will be used for LPI usecases. -->
            <param lpi_mode="LPI" />
            <param app_type="2" /> <!-- app type used in ACDB -->
            <param in_channels="3"/> <!-- Module input channels -->