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

Commit d06cd1c4 authored by Preetam Singh Ranawat's avatar Preetam Singh Ranawat
Browse files

hal: Add backend name for speaker-safe and headphone combo

audio is not routing over headphone when played on combo device
on pixel target.

add backend name for speaker safe and headphone combo device.

Change-Id: I5f86e2b0658333b3a0394a60f9f4cc87eeaadfe6
parent ae1f96a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2282,6 +2282,8 @@ static void set_platform_defaults(struct platform_data * my_data)
    backend_tag_table[SND_DEVICE_IN_BT_A2DP] = strdup("bt-a2dp-cap");
    backend_tag_table[SND_DEVICE_OUT_SPEAKER_AND_BT_A2DP] = strdup("speaker-and-bt-a2dp");
    backend_tag_table[SND_DEVICE_OUT_SPEAKER_SAFE_AND_BT_A2DP] = strdup("speaker-safe-and-bt-a2dp");
    backend_tag_table[SND_DEVICE_OUT_SPEAKER_SAFE_AND_HEADPHONES] = strdup("speaker-safe-and-headphones");
    backend_tag_table[SND_DEVICE_OUT_SPEAKER_SAFE_AND_LINE] = strdup("speaker-safe-and-line");
    backend_tag_table[SND_DEVICE_OUT_USB_HEADSET_SPEC] = strdup("usb-headset");
    backend_tag_table[SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_HEADPHONES] = strdup("speaker-and-headphones");
    backend_tag_table[SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_ANC_HEADSET] = strdup("speaker-and-headphones");