mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
intended-roles: Mark devices with a form factor of 'headset' as being appropriate for 'phone' streams
This was a result a report by Patrick Ben Koetter relating to his Logitech Wireless Headset.
This commit is contained in:
parent
8aa332c6f5
commit
13278bf234
1 changed files with 2 additions and 1 deletions
|
|
@ -2808,7 +2808,8 @@ pa_bool_t pa_device_init_intended_roles(pa_proplist *p) {
|
|||
return TRUE;
|
||||
|
||||
if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_FORM_FACTOR)))
|
||||
if (pa_streq(s, "handset") || pa_streq(s, "hands-free")) {
|
||||
if (pa_streq(s, "handset") || pa_streq(s, "hands-free")
|
||||
|| pa_streq(s, "headset")) {
|
||||
pa_proplist_sets(p, PA_PROP_DEVICE_INTENDED_ROLES, "phone");
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue