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

Commit b23c7b51 authored by Soumya Managoli's avatar Soumya Managoli Committed by Gerrit - the friendly Code Review server
Browse files

audio: Update missing SPKR and HP combo device usecase path

Add voice speaker and headphone combo device path for voice.
This is required only for internal codec target where both
speaker and headphone are on the same backend.

CRs-Fixed: 2204816
Change-Id: Idb5768153752a7f3117af6f578935edec9a7f462
parent ba9194e9
Loading
Loading
Loading
Loading
+6 −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, 2018, 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
@@ -1172,6 +1172,11 @@
        <path name="headphones" />
    </path>

    <path name="voice-speaker-and-voice-headphones">
        <path name="wsa-voice-speaker" />
        <path name="voice-headphones" />
    </path>

    <path name="voice-headset-mic">
        <path name="headset-mic" />
    </path>
+1 −0
Original line number Diff line number Diff line
@@ -792,6 +792,7 @@ static struct name_to_index snd_device_name_index[SND_DEVICE_MAX] = {
    {TO_NAME_INDEX(SND_DEVICE_OUT_VOICE_SPEAKER_2_PROTECTED_VBAT)},
    {TO_NAME_INDEX(SND_DEVICE_OUT_SPEAKER_PROTECTED_RAS)},
    {TO_NAME_INDEX(SND_DEVICE_OUT_SPEAKER_PROTECTED_VBAT_RAS)},
    {TO_NAME_INDEX(SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_HEADPHONES)},
#ifdef RECORD_PLAY_CONCURRENCY
    {TO_NAME_INDEX(SND_DEVICE_OUT_VOIP_HANDSET)},
    {TO_NAME_INDEX(SND_DEVICE_OUT_VOIP_SPEAKER)},