Diff between cc8e6ef63509ff69f8b2399802c6de320e957c2b and 60b482c3c9baaee92fe34384db5211e7fe951e50

Changed Files

File Additions Deletions Status
profiles/audio/transport.c +4 -1 modified

Full Patch

diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index 159fbd5..5b11bfe 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -1624,7 +1624,10 @@ 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);
-		transport_update_playing(transport, FALSE);
+		if (bt_bap_stream_io_dir(stream) == BT_BAP_BCAST_SOURCE)
+			transport_update_playing(transport, TRUE);
+		else
+			transport_update_playing(transport, FALSE);
 		return;
 	case BT_BAP_STREAM_STATE_DISABLING:
 		return;