From: Mikel Astiz <[email protected]>
When PA is doing sink role (headset role), the stream should not be
suspended automatically because of idle, since many phones (i.e. iPhone)
will try to resume it immediately afterwards.
---
src/modules/bluetooth/module-bluetooth-device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/modules/bluetooth/module-bluetooth-device.c
b/src/modules/bluetooth/module-bluetooth-device.c
index aac7e9d..d7366c5 100644
--- a/src/modules/bluetooth/module-bluetooth-device.c
+++ b/src/modules/bluetooth/module-bluetooth-device.c
@@ -1787,7 +1787,7 @@ static int add_source(struct userdata *u) {
pa_proplist_sets(data.proplist, "bluetooth.protocol",
profile_to_string(u->profile));
if (u->profile == PROFILE_HSP)
pa_proplist_sets(data.proplist, PA_PROP_DEVICE_INTENDED_ROLES,
"phone");
- else if (u->profile == PROFILE_HFGW)
+ else if (u->profile == PROFILE_HFGW || u->profile ==
PROFILE_A2DP_SOURCE)
pa_proplist_sets(data.proplist, "module-suspend-on-idle.timeout",
"3600");
data.card = u->card;
--
1.7.7.6
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss