From 4be24398f9ef510e4904e7190688fc2c02f3a583 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 8 Oct 2025 17:46:25 -0400 Subject: [PATCH] bass: Fix restricting the BIS indexes to 1 as assistant MediaAssistant are created per BIS which creates a problem since MediaAssistant.Push could only push one index at the time, so instead of always using the index use 0xFFFFFF (no preference) and leave it up to the delegator to decide. --- profiles/audio/bass.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/profiles/audio/bass.c b/profiles/audio/bass.c index efa58e62b..d42740ca4 100644 --- a/profiles/audio/bass.c +++ b/profiles/audio/bass.c @@ -966,7 +966,10 @@ static DBusMessage *push(DBusConnection *conn, DBusMessage *msg, util_iov_append(&iov, &meta_len, sizeof(meta_len)); } - bis_sync = (1 << (assistant->bis - 1)); + /* Use 0xFFFFFFFF to indicate no preference (any BIS index) to allow + * delegators to sync with BIG with multiple BIS + */ + bis_sync = 0xFFFFFFFF; meta_len = assistant->meta->iov_len; util_iov_append(&iov, &bis_sync, sizeof(bis_sync)); -- 2.47.3