This changes the flow for transports created on broadcast sink side. Transports are not automatically changed to pending anymore, instead the user must first run transport.select on them. This allows for the selection of the desired stream when running the setup with PipeWire, which acquires any transport that is pending. --- profiles/audio/transport.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c index d6493edd0..5ad1499b9 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -1676,10 +1676,7 @@ static void bap_state_changed(struct bt_bap_stream *stream, uint8_t old_state, bap_update_qos(transport); else if (bt_bap_stream_io_dir(stream) != BT_BAP_BCAST_SOURCE) bap_update_bcast_qos(transport); - if (bt_bap_stream_io_dir(stream) == BT_BAP_BCAST_SOURCE) - transport_update_playing(transport, TRUE); - else - transport_update_playing(transport, FALSE); + transport_update_playing(transport, FALSE); return; case BT_BAP_STREAM_STATE_DISABLING: return; -- 2.40.1