From: João Paulo Rechi Vita <[email protected]>
---
src/modules/bluetooth/module-bluetooth-policy.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/modules/bluetooth/module-bluetooth-policy.c
b/src/modules/bluetooth/module-bluetooth-policy.c
index 4a90db7..d5fdcaa 100644
--- a/src/modules/bluetooth/module-bluetooth-policy.c
+++ b/src/modules/bluetooth/module-bluetooth-policy.c
@@ -83,6 +83,8 @@ static pa_hook_result_t source_put_hook_callback(pa_core *c,
pa_source *source,
role = "music";
else if (u->enable_hfgw && pa_streq(s, "hfgw")) /* HFP profile (we're
doing headset role) */
role = "phone";
+ else if (u->enable_hfgw && pa_streq(s, "hfp_ag")) /* HFP profile (we're
doing handsfree role) */
+ role = "phone";
else {
pa_log_debug("Profile %s cannot be selected for loopback", s);
return PA_HOOK_OK;
@@ -120,6 +122,8 @@ static pa_hook_result_t sink_put_hook_callback(pa_core *c,
pa_sink *sink, void *
if (u->enable_hfgw && pa_streq(s, "hfgw")) /* HFP profile (we're doing
headset role) */
role = "phone";
+ else if (u->enable_hfgw && pa_streq(s, "hfp_ag")) /* HFP profile (we're
doing handsfree role) */
+ role = "phone";
else {
pa_log_debug("Profile %s cannot be selected for loopback", s);
return PA_HOOK_OK;
--
1.7.11.7
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss