On Tuesday 30 April 2019 12:42:28 Luiz Augusto von Dentz wrote:
> Btw, if you are to send a v10 also include the following:
> 
> @@ -1838,6 +1847,9 @@ static DBusMessage
> *endpoint_set_configuration(DBusConnection *conn, DBusMessage
>      t->release = bluez5_transport_release_cb;
>      pa_bluetooth_transport_put(t);
> 
> +    if (!d->change_a2dp_profile_in_progress)
> +        pa_bluetooth_transport_set_state(t,
> PA_BLUETOOTH_TRANSPORT_STATE_PLAYING);
> +
>      pa_log_debug("Transport %s available for profile %s", t->path,
> pa_bluetooth_profile_to_string(t->profile));
> 
>      return NULL;
> 
> Otherwise last used logic don't work as intended.

I'm going to rework patches which choose initial profile. It would be
based on transport state (and not on availability). So all those "hacks"
are not needed.

-- 
Pali Rohár
pali.ro...@gmail.com

Attachment: signature.asc
Description: PGP signature

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to