mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
alsa-mixer: Add paths/ports for multichannel profile
This makes the GUIs (e g gnome/unity-control-center) look more consistent with other inputs/outputs that also have ports. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
02dc6d84ed
commit
6db74fc3c7
2 changed files with 5 additions and 1 deletions
|
|
@ -2389,7 +2389,9 @@ static int path_verify(pa_alsa_path *p) {
|
||||||
{ "hdmi-output", N_("HDMI / DisplayPort") },
|
{ "hdmi-output", N_("HDMI / DisplayPort") },
|
||||||
{ "iec958-stereo-output", N_("Digital Output (S/PDIF)") },
|
{ "iec958-stereo-output", N_("Digital Output (S/PDIF)") },
|
||||||
{ "iec958-stereo-input", N_("Digital Input (S/PDIF)") },
|
{ "iec958-stereo-input", N_("Digital Input (S/PDIF)") },
|
||||||
{ "iec958-passthrough-output", N_("Digital Passthrough (S/PDIF)") }
|
{ "iec958-passthrough-output", N_("Digital Passthrough (S/PDIF)") },
|
||||||
|
{ "multichannel-input", N_("Multichannel Input") },
|
||||||
|
{ "multichannel-output", N_("Multichannel Output") },
|
||||||
};
|
};
|
||||||
|
|
||||||
pa_alsa_element *e;
|
pa_alsa_element *e;
|
||||||
|
|
|
||||||
|
|
@ -449,6 +449,7 @@ exact-channels = false
|
||||||
fallback = yes
|
fallback = yes
|
||||||
priority = 1
|
priority = 1
|
||||||
direction = output
|
direction = output
|
||||||
|
paths-output = multichannel-output
|
||||||
|
|
||||||
[Mapping multichannel-input]
|
[Mapping multichannel-input]
|
||||||
device-strings = hw:%f
|
device-strings = hw:%f
|
||||||
|
|
@ -457,6 +458,7 @@ exact-channels = false
|
||||||
fallback = yes
|
fallback = yes
|
||||||
priority = 1
|
priority = 1
|
||||||
direction = input
|
direction = input
|
||||||
|
paths-input = multichannel-input
|
||||||
|
|
||||||
; An example for defining multiple-sink profiles
|
; An example for defining multiple-sink profiles
|
||||||
#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
|
#[Profile output:analog-stereo+output:iec958-stereo+input:analog-stereo]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue