[pulseaudio-discuss] module-bluetooth-policy : How to use auto switch profile?

Greg greegthegeek at gmail.com
Mon Sep 5 13:32:51 UTC 2016


>> Everthing seems (sounds :)) fine, but as i'm in bluez 5 the profile is
not
>> switching yet...

> Yes, bluez5 needs some patches...


Sorry, I was mispatching the source file...
As I was reading module-bluetooth-policy.c, I realized ti was not patched...
I did it again, and @ make step I have this error:

  CC
modules/bluetooth/module_bluetooth_policy_la-module-bluetooth-policy.lo
modules/bluetooth/module-bluetooth-policy.c: In function
'module_bluetooth_policy_LTX_pa__init':
modules/bluetooth/module-bluetooth-policy.c:439:69: error:
'PA_CORE_HOOK_CARD_CHOOSE_INITIAL_PROFILE' undeclared (first use in this
function)
         u->card_init_profile_slot =
pa_hook_connect(&m->core->hooks[PA_CORE_HOOK_CARD_CHOOSE_INITIAL_PROFILE],
PA_HOOK_NORMAL,
                                                                     ^
modules/bluetooth/module-bluetooth-policy.c:439:69: note: each undeclared
identifier is reported only once for each function it appears in

What do you think about it? Is it cause by bluez5?

Thanks,



On 5 September 2016 at 15:25, Pali Rohár <pali.rohar at gmail.com> wrote:

> On Monday 05 September 2016 15:19:53 Greg wrote:
> > Everthing seems (sounds :)) fine, but as i'm in bluez 5 the profile is
> not
> > switching yet...
>
> Yes, bluez5 needs some patches...
>
> > Which kind of log could I provide to help?
>
> First I need to finish my patches for bluez5 support. I think I do not
> need any logs... In ideal world it should work :-) but some testing will
> be needed.
>
> So when my patches will be ready, I send them to mailing list and CC
> you, so you can try & test them.
>
> --
> Pali Rohár
> pali.rohar at gmail.com
>



-- 
*GreeG*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160905/98b38eb1/attachment.html>


More information about the pulseaudio-discuss mailing list