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

Commit 7c8fb7ab authored by Vatsal Bucha's avatar Vatsal Bucha Committed by Manisha Agarwal
Browse files

configs: lito: Replace loopback volume for tert mi2s with slimbus 8



Replace TERT MI2S LOOPBACK Volume with SLIMBUS_8 as
lito has cherokee which uses slimbus.

Change the pcm device id for offload usecase from 8 to 7.

Change the audio offload min duration from 60 to 30.

Change-Id: Ie4dc1a0c611d99876f4ecc12c0957ce89e5977b4
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent ad672adc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
        <!-- APM Configs -->
        <property name="audio.deep_buffer.media" value="true"/>
        <property name="audio.offload.disable" value="false"/>
        <property name="audio.offload.min.duration.secs" value="60"/>
        <property name="audio.offload.min.duration.secs" value="30"/>
        <property name="audio.offload.video" value="true"/>
        <property name="persist.vendor.audio.sva.conc.enabled" value="false"/>
        <property name="persist.vendor.audio.va_concurrency_enabled" value="false"/>
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@
    </bit_width_configs>
    <pcm_ids>
        <usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="9"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="8"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="7"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD2" type="out" id="11"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD3" type="out" id="12"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD4" type="out" id="24"/>
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
    </interface_names>
    <pcm_ids>
        <usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="9"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="8"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="7"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD2" type="out" id="11"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD3" type="out" id="12"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD4" type="out" id="24"/>
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
    </interface_names>
    <pcm_ids>
        <usecase name="USECASE_AUDIO_PLAYBACK_LOW_LATENCY" type="out" id="9"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="8"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD" type="out" id="7"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD2" type="out" id="11"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD3" type="out" id="12"/>
        <usecase name="USECASE_AUDIO_PLAYBACK_OFFLOAD4" type="out" id="24"/>
+3 −3
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@
    <ctl name="AFE_PCM_RX Audio Mixer MultiMedia5" value="0" />
    <!-- usb headset end -->
    <!-- fm -->
    <ctl name="Tert MI2S LOOPBACK Volume" value="0" />
    <ctl name="SLIMBUS_8 LOOPBACK Volume" value="0" />
    <ctl name="WSA_CDC_DMA_RX_0 Port Mixer SLIM_8_TX" value="0" />
    <ctl name="WSA_CDC_DMA_RX_0_DL_HL Switch" value="0" />
    <ctl name="RX_CDC_DMA_RX_0 Port Mixer SLIM_8_TX" value="0" />
@@ -1436,13 +1436,13 @@
    </path>

    <path name="play-fm">
        <ctl name="Tert MI2S LOOPBACK Volume" value="1" />
        <ctl name="SLIMBUS_8 LOOPBACK Volume" value="1" />
        <ctl name="WSA_CDC_DMA_RX_0 Port Mixer SLIM_8_TX" value="1" />
        <ctl name="WSA_CDC_DMA_RX_0_DL_HL Switch" value="1" />
    </path>

    <path name="play-fm headphones">
        <ctl name="Tert MI2S LOOPBACK Volume" value="1" />
        <ctl name="SLIMBUS_8 LOOPBACK Volume" value="1" />
        <ctl name="RX_CDC_DMA_RX_0 Port Mixer SLIM_8_TX" value="1" />
        <ctl name="RX_CDC_DMA_RX_0_DL_HL Switch" value="1" />
    </path>
Loading