spa: add "Line Out" element to headphones and lineout profiles

Some audio hardware reports output jacks as "Line Out" rather than
"Headphone" or generic analog outputs. Without an explicit "Line Out"
element in the SPA configuration, these ports may be ignored or
misidentified, leading to missing output options in desktop settings.

This change adds "Line Out" as a recognized element in both the
headphones and lineout SPA configuration files, improving compatibility
with a wider range of audio devices.
This commit is contained in:
Jiahe Liu 2026-02-27 14:42:58 +08:00
parent e6a5951a47
commit 359acb7154
2 changed files with 8 additions and 0 deletions

View file

@ -137,6 +137,10 @@ volume = zero
switch = off
volume = off
[Element Line Out]
switch = off
volume = off
[Element Surround]
switch = off
volume = off

View file

@ -155,6 +155,10 @@ volume = merge
override-map.1 = all-rear
override-map.2 = rear-left,rear-right
[Element Line Out]
switch = mute
volume = merge
[Element Surround]
switch = mute
volume = merge