mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
alsa: introduce more standard path names
This commit is contained in:
parent
ab573f2e06
commit
b47a9e7ea4
1 changed files with 14 additions and 10 deletions
|
|
@ -1712,7 +1712,9 @@ static int option_verify(pa_alsa_option *o) {
|
||||||
{ "input-boost-on", N_("Boost") },
|
{ "input-boost-on", N_("Boost") },
|
||||||
{ "input-boost-off", N_("No Boost") },
|
{ "input-boost-off", N_("No Boost") },
|
||||||
{ "output-amplifier-on", N_("Amplifier") },
|
{ "output-amplifier-on", N_("Amplifier") },
|
||||||
{ "output-amplifier-off", N_("No Amplifier") }
|
{ "output-amplifier-off", N_("No Amplifier") },
|
||||||
|
{ "output-speaker", N_("Speaker") },
|
||||||
|
{ "output-headphones", N_("Headphones") }
|
||||||
};
|
};
|
||||||
|
|
||||||
pa_assert(o);
|
pa_assert(o);
|
||||||
|
|
@ -1770,15 +1772,17 @@ static int element_verify(pa_alsa_element *e) {
|
||||||
|
|
||||||
static int path_verify(pa_alsa_path *p) {
|
static int path_verify(pa_alsa_path *p) {
|
||||||
static const struct description_map well_known_descriptions[] = {
|
static const struct description_map well_known_descriptions[] = {
|
||||||
{ "analog-input", N_("Analog Input") },
|
{ "analog-input", N_("Analog Input") },
|
||||||
{ "analog-input-microphone", N_("Analog Microphone") },
|
{ "analog-input-microphone", N_("Analog Microphone") },
|
||||||
{ "analog-input-linein", N_("Analog Line-In") },
|
{ "analog-input-linein", N_("Analog Line-In") },
|
||||||
{ "analog-input-radio", N_("Analog Radio") },
|
{ "analog-input-radio", N_("Analog Radio") },
|
||||||
{ "analog-input-video", N_("Analog Video") },
|
{ "analog-input-video", N_("Analog Video") },
|
||||||
{ "analog-output", N_("Analog Output") },
|
{ "analog-output", N_("Analog Output") },
|
||||||
{ "analog-output-headphones", N_("Analog Headphones") },
|
{ "analog-output-headphones", N_("Analog Headphones") },
|
||||||
{ "analog-output-lfe-on-mono", N_("Analog Output (LFE)") },
|
{ "analog-output-lfe-on-mono", N_("Analog Output (LFE)") },
|
||||||
{ "analog-output-mono", N_("Analog Mono Output") }
|
{ "analog-output-mono", N_("Analog Mono Output") },
|
||||||
|
{ "analog-output-headphones-2", N_("Analog Headphones 2") },
|
||||||
|
{ "analog-output-speaker", N_("Analog Speaker") }
|
||||||
};
|
};
|
||||||
|
|
||||||
pa_alsa_element *e;
|
pa_alsa_element *e;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue