mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04: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
|
||||
|
||||
[Properties]
|
||||
device.icon_name = audio-input-microphone
|
||||
|
||||
[Element Line]
|
||||
switch = off
|
||||
volume = off
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
priority = 101
|
||||
name = analog-output-speaker
|
||||
|
||||
[Properties]
|
||||
device.icon_name = audio-speakers
|
||||
|
||||
[Element Hardware Master]
|
||||
switch = mute
|
||||
volume = merge
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
priority = 89
|
||||
name = analog-output-headphones
|
||||
|
||||
[Properties]
|
||||
device.icon_name = audio-headphones
|
||||
|
||||
[Element Hardware Master]
|
||||
switch = mute
|
||||
volume = merge
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
priority = 90
|
||||
name = analog-output-headphones
|
||||
|
||||
[Properties]
|
||||
device.icon_name = audio-headphones
|
||||
|
||||
[Jack Front Headphone]
|
||||
required-any = any
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@
|
|||
priority = 100
|
||||
name = analog-output-speaker
|
||||
|
||||
[Properties]
|
||||
device.icon_name = audio-speakers
|
||||
|
||||
[Jack Headphone]
|
||||
state.plugged = no
|
||||
state.unplugged = unknown
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
priority = 100
|
||||
name = analog-output-speaker
|
||||
|
||||
[Properties]
|
||||
device.icon_name = audio-speakers
|
||||
|
||||
[Jack Headphone]
|
||||
state.plugged = no
|
||||
state.unplugged = unknown
|
||||
|
|
|
|||
|
|
@ -2,5 +2,8 @@
|
|||
description = HDMI / DisplayPort
|
||||
priority = 59
|
||||
|
||||
[Properties]
|
||||
device.icon_name = video-display
|
||||
|
||||
[Jack HDMI/DP,pcm=3]
|
||||
required = ignore
|
||||
|
|
|
|||
|
|
@ -2,5 +2,8 @@
|
|||
description = HDMI / DisplayPort 2
|
||||
priority = 58
|
||||
|
||||
[Properties]
|
||||
device.icon_name = video-display
|
||||
|
||||
[Jack HDMI/DP,pcm=7]
|
||||
required = ignore
|
||||
|
|
|
|||
|
|
@ -2,5 +2,8 @@
|
|||
description = HDMI / DisplayPort 3
|
||||
priority = 57
|
||||
|
||||
[Properties]
|
||||
device.icon_name = video-display
|
||||
|
||||
[Jack HDMI/DP,pcm=8]
|
||||
required = ignore
|
||||
|
|
|
|||
|
|
@ -2,5 +2,8 @@
|
|||
description = HDMI / DisplayPort 4
|
||||
priority = 56
|
||||
|
||||
[Properties]
|
||||
device.icon_name = video-display
|
||||
|
||||
[Jack HDMI/DP,pcm=9]
|
||||
required = ignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue