mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
alsa-mixer: Add device.icon-name property for some common ports
If we expose this information, UIs can use this to make better decisions about what icon to display. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
18b79d2e13
commit
0f6bbcc3a5
10 changed files with 30 additions and 0 deletions
|
|
@ -18,6 +18,9 @@
|
||||||
;
|
;
|
||||||
; See analog-output.conf.common for an explanation on the directives
|
; See analog-output.conf.common for an explanation on the directives
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = audio-input-microphone
|
||||||
|
|
||||||
[Element Line]
|
[Element Line]
|
||||||
switch = off
|
switch = off
|
||||||
volume = off
|
volume = off
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
priority = 101
|
priority = 101
|
||||||
name = analog-output-speaker
|
name = analog-output-speaker
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = audio-speakers
|
||||||
|
|
||||||
[Element Hardware Master]
|
[Element Hardware Master]
|
||||||
switch = mute
|
switch = mute
|
||||||
volume = merge
|
volume = merge
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
priority = 89
|
priority = 89
|
||||||
name = analog-output-headphones
|
name = analog-output-headphones
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = audio-headphones
|
||||||
|
|
||||||
[Element Hardware Master]
|
[Element Hardware Master]
|
||||||
switch = mute
|
switch = mute
|
||||||
volume = merge
|
volume = merge
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
priority = 90
|
priority = 90
|
||||||
name = analog-output-headphones
|
name = analog-output-headphones
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = audio-headphones
|
||||||
|
|
||||||
[Jack Front Headphone]
|
[Jack Front Headphone]
|
||||||
required-any = any
|
required-any = any
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@
|
||||||
priority = 100
|
priority = 100
|
||||||
name = analog-output-speaker
|
name = analog-output-speaker
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = audio-speakers
|
||||||
|
|
||||||
[Jack Headphone]
|
[Jack Headphone]
|
||||||
state.plugged = no
|
state.plugged = no
|
||||||
state.unplugged = unknown
|
state.unplugged = unknown
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@
|
||||||
priority = 100
|
priority = 100
|
||||||
name = analog-output-speaker
|
name = analog-output-speaker
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = audio-speakers
|
||||||
|
|
||||||
[Jack Headphone]
|
[Jack Headphone]
|
||||||
state.plugged = no
|
state.plugged = no
|
||||||
state.unplugged = unknown
|
state.unplugged = unknown
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,8 @@
|
||||||
description = HDMI / DisplayPort
|
description = HDMI / DisplayPort
|
||||||
priority = 59
|
priority = 59
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = video-display
|
||||||
|
|
||||||
[Jack HDMI/DP,pcm=3]
|
[Jack HDMI/DP,pcm=3]
|
||||||
required = ignore
|
required = ignore
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,8 @@
|
||||||
description = HDMI / DisplayPort 2
|
description = HDMI / DisplayPort 2
|
||||||
priority = 58
|
priority = 58
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = video-display
|
||||||
|
|
||||||
[Jack HDMI/DP,pcm=7]
|
[Jack HDMI/DP,pcm=7]
|
||||||
required = ignore
|
required = ignore
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,8 @@
|
||||||
description = HDMI / DisplayPort 3
|
description = HDMI / DisplayPort 3
|
||||||
priority = 57
|
priority = 57
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = video-display
|
||||||
|
|
||||||
[Jack HDMI/DP,pcm=8]
|
[Jack HDMI/DP,pcm=8]
|
||||||
required = ignore
|
required = ignore
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,8 @@
|
||||||
description = HDMI / DisplayPort 4
|
description = HDMI / DisplayPort 4
|
||||||
priority = 56
|
priority = 56
|
||||||
|
|
||||||
|
[Properties]
|
||||||
|
device.icon_name = video-display
|
||||||
|
|
||||||
[Jack HDMI/DP,pcm=9]
|
[Jack HDMI/DP,pcm=9]
|
||||||
required = ignore
|
required = ignore
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue