[pulseaudio-discuss] [RFC 0/3] Automatically enable loopback on sources
Frédéric Dalleau
frederic.dalleau at linux.intel.com
Mon Jan 16 10:33:43 PST 2012
Hi guys,
This patch series tries to automatically enable loopback on bluetooth sources
and sinks. This is useful when listening music from the phone or to answer
phonecall using empathy/bluez/ofono/telepathy-ring without command line
interactions. Basically the loopback module is loaded when the profile changes.
The usage of this feature is restricted to only HFGW and A2DP sink role
(aka Handsfree Gateway and High Fidelity Capture profiles).
HFAG and A2DP source role do not have the same semantics.
This is the default.pa I used
#!/usr/local/bin/pulseaudio -nF
load-module module-udev-detect
load-module module-native-protocol-unix
load-module module-bluetooth-discover auto_loopback=yes
Let me know what you think.
Regards,
Frédéric
Frédéric Dalleau (3):
bluetooth: Automatically loopback sources
bluetooth: Automatically loopback sinks
bluetooth: Restrict loopback to HFGW and A2DP src
src/modules/bluetooth/module-bluetooth-device.c | 151 ++++++++++++++++++++-
src/modules/bluetooth/module-bluetooth-discover.c | 16 +++
2 files changed, 166 insertions(+), 1 deletions(-)
--
1.7.5.4
More information about the pulseaudio-discuss
mailing list