Hi Mikel,

On Wed, Nov 23, 2011 at 6:08 PM, Mikel Astiz <[email protected]> wrote:
> ---
>  src/modules/bluetooth/module-bluetooth-discover.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/modules/bluetooth/module-bluetooth-discover.c 
> b/src/modules/bluetooth/module-bluetooth-discover.c
> index cd63094..e2a61ab 100644
> --- a/src/modules/bluetooth/module-bluetooth-discover.c
> +++ b/src/modules/bluetooth/module-bluetooth-discover.c
> @@ -107,12 +107,12 @@ static pa_hook_result_t 
> load_module_for_device(pa_bluetooth_discovery *y, const
>                 args = tmp;
>             }
>
> -            if (d->audio_source_state > PA_BT_AUDIO_STATE_CONNECTED)
> -                args = pa_sprintf_malloc("%s profile=\"a2dp_source\" 
> auto_connect=no", args);
> -
>             if (d->hfgw_state > PA_BT_AUDIO_STATE_CONNECTED)
>                 args = pa_sprintf_malloc("%s profile=\"hfgw\"", args);
>
> +            else if (d->audio_source_state > PA_BT_AUDIO_STATE_CONNECTED)
> +                args = pa_sprintf_malloc("%s profile=\"a2dp_source\" 
> auto_connect=no", args);
> +
>             pa_log_debug("Loading module-bluetooth-device %s", args);
>             m = pa_module_load(u->module->core, "module-bluetooth-device", 
> args);
>             pa_xfree(args);
> --
> 1.7.6.4

Ack.

-- 
Luiz Augusto von Dentz
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to