[pulseaudio-discuss] module-bluetooth-policy : How to use auto switch profile?
greegthegeek at gmail.com
Mon Sep 5 13:19:53 UTC 2016
Thx for your feedback!
I understand better how it works now:
- I downloaded pulseaudio source
- patch with your patch https://cgit.freedesktop.org/
- configure with the following ./configure --enable-alsa --enable-bluez5
--enable-bluez5-native-headset --enable-gtk3 --with-speex --enable-x11
--enable-systemd-daemon --enable-systemd-login --enable-systemd-journal
- Installed missing librairies :)
- re-run ./configure
- make clean && make && make install
Everthing seems (sounds :)) fine, but as i'm in bluez 5 the profile is not
Which kind of log could I provide to help?
On 5 September 2016 at 09:22, Pali Rohár <pali.rohar at gmail.com> wrote:
> On Friday 02 September 2016 09:57:40 Greg wrote:
> > Hello community,
> > I'm using a BT headset with a microphone.
> > I'm using A2DP profile to listen music and HSP when using a softphone
> > (Jitsi).
> > Today, I have a key shortcut that toggle the profile when I'm receiving a
> > call (pacmd set-card-profile bluez_card.0C_E0_E4_8D_15_50
> > headset_head_unit).
> > This a manual intervention, and from what i understand, there seems to
> be a
> > way to do it automatically with module-blutetooth-policy?
> Yes, new patch for module-bluetooth-policy  can do that. But IIRC it
> is only in git, not in some released PA version.
> Once some application create recording stream with media.role=phone then
> that policy module automatically switch to HSP and after stream is
> destroyed it switch back to A2DP.
> But it is still not complete, I need to finish it. Currently I tested it
> only for bluez4.
>  - https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=
> Pali Rohár
> pali.rohar at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pulseaudio-discuss