bluetooth: Never allow microphone output ports

If we find a microphone output port, it is probably something else
than a microphone. Therefore label it "Bluetooth output" instead of
"Microphone".

Same goes for Headphones and Speakers, but in the other direction.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2013-03-08 18:23:41 +01:00
parent 0a280ceed7
commit 135afa28e7

View file

@ -2094,17 +2094,17 @@ static void create_card_ports(struct userdata *u, pa_hashmap *ports) {
case PA_BT_FORM_FACTOR_MICROPHONE:
name_prefix = "microphone";
input_description = output_description = _("Microphone");
input_description = _("Microphone");
break;
case PA_BT_FORM_FACTOR_SPEAKER:
name_prefix = "speaker";
input_description = output_description = _("Speaker");
output_description = _("Speaker");
break;
case PA_BT_FORM_FACTOR_HEADPHONE:
name_prefix = "headphone";
input_description = output_description = _("Headphone");
output_description = _("Headphone");
break;
case PA_BT_FORM_FACTOR_PORTABLE: