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 15:44:22 +08:00
parent b096704c0d
commit 27b8121fd6
2 changed files with 8 additions and 0 deletions

View file

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

View file

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