diff options
| author | Colin Guthrie <cguthrie@mandriva.org> | 2010-10-16 12:26:32 +0100 | 
|---|---|---|
| committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-10-31 20:33:39 +0000 | 
| commit | 848dd378bb7fa53be7b88016335fa89d520f2ea3 (patch) | |
| tree | daca987cceb9a8766f6ef056fb4b4f606c4f79b4 | |
| parent | 8a30d4c06e87d6663ed6e5ecf28d564fc2179c0d (diff) | |
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.
| -rw-r--r-- | src/pulsecore/sink.c | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index 8d66f980..a446f023 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -2686,7 +2686,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;          }  | 
