pulseaudio/src/modules/bluetooth
Georg Chini 44d03c0a46 bluez5-device: lower sink/source priority for Audio gateway or a2dp source
When a phone is connected via bluetooth and switches to HFP, the sinks
and sources will have higher priority than the built-in devices.
Therefore they are chosen as default and module-bluetooth-policy will
incorrectly insert loopback modules that loop the phone back to itself.

This patch fixes the problem by lowering the priority of sink and source
if PulseAudio is in the headset role. The priority is also lowered if the
device is an a2dp source. In both cases it does not make sense to make the
source or sink default unless there is no other sound device available.
2017-09-03 12:43:03 +03:00
..
a2dp-codecs.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
backend-native.c bluetooth: assert that dbus_message_iter_append_basic() doesn't fail 2017-03-30 19:27:02 +03:00
backend-ofono.c fix dbus message leaks 2017-07-17 19:29:21 +03:00
bluez4-util.c fix dbus message leaks 2017-07-17 19:29:21 +03:00
bluez4-util.h bluetooth: allow UTF-8 in device descriptions 2017-04-02 20:48:52 +03:00
bluez5-util.c fix dbus message leaks 2017-07-17 19:29:21 +03:00
bluez5-util.h bluetooth: use native and ofono backends in parallel with headset=auto 2017-03-11 19:02:16 +01:00
module-bluetooth-discover.c bluetooth: Make use of getsockopt() to determine MTU configurable 2017-02-14 11:48:10 +02:00
module-bluetooth-policy.c bluetooth-policy: retain backwards compatibility 2017-03-17 21:57:42 +02:00
module-bluez4-device.c source/sink: Allow pa_{source, sink}_get_latency_within_thread() to return negative values 2017-04-17 19:50:10 +02:00
module-bluez4-discover.c bluetooth: Fix dead code 2016-08-16 10:31:44 +02:00
module-bluez5-device.c bluez5-device: lower sink/source priority for Audio gateway or a2dp source 2017-09-03 12:43:03 +03:00
module-bluez5-discover.c bluetooth: Don't default to native backend 2017-05-04 12:58:21 +02:00
rtp.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00