alsa: Improve "well known descriptions" for ports

* If we don't have "Digital Speakers", we should say "Speakers"
   instead of "Analog Speakers", and similar for other ports.
 * Change "IEC958" to "S/PDIF" (more well known name)
 * Add new ports and mappings for HDMI
 * Change "Internal" to "Built-in" for the card name

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2012-01-11 15:40:08 +01:00 committed by Colin Guthrie
parent 6c5eba6914
commit 13e1c4bdee
2 changed files with 17 additions and 14 deletions

View file

@ -3346,7 +3346,7 @@ pa_bool_t pa_device_init_description(pa_proplist *p) {
if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_FORM_FACTOR)))
if (pa_streq(s, "internal"))
d = _("Internal Audio");
d = _("Built-in Audio");
if (!d)
if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_CLASS)))