mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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:
parent
0a280ceed7
commit
135afa28e7
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue